Options with SQL2012 and Security issues with database
Hello,We are using SQL Server 2012 Standard Edition with one database and one schema for all our clients and now we have a requirement to use multi tenant architecture. Due to budget issues and volume...
View ArticleIndex getting corrupted all the time
Hi,We have pretty new SQL server running 2014 version SP1 CU6 Std edition on Hyper-VThere is always a problem with 1 database, which getting corrupted. Actually it is only 1 index who has a problem....
View ArticleHow to make Relations for Instructor Schedule(one to many and many to many...
ProblemHow to make database design for Instructor Schedule(only relations between every table and other one to many AND Many to Many)Tables already created but relation not make...
View ArticleUsing VarChar or TinyText for text fields under 127 characters?
So I'm wondering which data taype is better to use in terms of speed (parsing and searching) and storage considerations : TinyText or VarChar(127)? I plan trying to decide which one is better for text...
View ArticleNeed to find out the installation binary file of SQL Server 2008 Standard...
Hi, We have SQL Server 2008 Standard Edition installed in one host. Recently the SQL Server instance will be migrated to new host which has more CPU & Memory. We need to install SQL Server 2008...
View Articlesql server 2016 in memory tables performance gains in stored proc
Is there any analysis done on sql server 2016 in memory tables performancer gains in stored proc?For examplesql2012 stored proc data read with 5k items -15 secvssql server 2016 in memory table based...
View ArticleSetting up the table design
Hello all !This question may be very silly to post but I thought I may learn few things with the help of this post.Actually, I am aware of how to create tables, primary key, foreign key, stored...
View Articlehow to easily migrate sql server 2012 database to sql server 2016 and convert...
how to easily migrate sql server 2012 database to sql server 2016 and convert few tables and sp's to in memory.Will it improve stored proc performance?I read few articles below and it looks promising...
View ArticleHow to get database growth detail for every week
Hi,we have requirement to get database growth detail for every week. Please help in this case.Regards,karthik B
View ArticleWhat trace flags are already enabled in SQL Server 2016
Hello,I read somewhere Trace flags 1118, 1117 & 2371 are already enabled in SQL Server 2016 but when I execute DBCC TRACESTATUS(-1), no data is returned indicating no trace flags are...
View ArticleSeeking info on update statistics in SQL Server 2016
Hello,When a query is submitted for execution, query processor compiles the query and then query optimizer starts figuring out better enough execution plan. Could you please correct my understanding on...
View ArticleSQL Clustering configuration
HiI have an Active-Passive Clustering environment setup (sql server enterprise 2014): instance 1 on nodes A and B.I would like to install another instance 2 on same nodes A and B. I would like to make...
View ArticleLogin/Logout and Login Count logic in SQL Server
Hi Experts,I have a database design with various tables and the their relationships. Now I am writing stored procedures (in SQL Server 2016) to Select and Insert/Update statements for our new...
View ArticleUsing a synonym table within a synonym stored procedure
We have set up each client with their own database and then created a master database with common tables and stored procedure. We want to access them via synonyms. Accessing the tables works fine but...
View Articlewhy qty deducted is negative?
- I have seen before in an application a qty returned in purchase or sales returns or any transaction which deduct from the inventory (inventory out), it shows the quantity in minus like this (-20) i.e...
View ArticleTabular Model Designer
Can someone please tell me where the Tabular Model Designer is in Visual Studio?Thank you.JohnB
View ArticleSQL - Row size issue in SQL Server 2012 but not in 2014 version onwards
I am facing an issue while altering a column datatype. This issue is related to maximum allowable table row size. I have gone through lot of posts around this and tried to understand the row size...
View ArticleMigration Data from ORACLE to SQL SERVER
Hi everyone, I've Oracle database 10g on windows 2003 server worked in old desktop applications need to convert and migration to SQL SERVER 2012 using wizard and VS.net c# Projects.Best...
View ArticleSQL - Row size issue in SQL Server 2012 but not in 2014 version onwards
I am facing an issue while altering a column datatype. This issue is related to maximum allowable table row size. I have gone through lot of posts around this and tried to understand the row size...
View ArticleSQL Auditing
Hi There,I have a SQL server 2008 R2 Enterprise edition machine. There is a database on which customer wants to set up some kind of alerting system such that whenever anyone try to change the records...
View Article