SQL 2014 License mapping with physical cores during/after installation
Hi,I have ESX Machine with 24 cores. I have to purchase SQL Server 2014 Enterprise physical core based license for 24 cores. so my question is- how SQL 2014 License will mapping/hosted/linked with...
View Articlesql 2000 database role
Hi ,I want to grant execute permission to all SP's in SQL 2000 database, when I tried to create a db_execprocs role it is throwing an error near ROLE, and when I googled I have found a script as...
View ArticleCompare field value in one table to all field values in another table
Hi everyone,I have two views, both containing account numbers (field is called ACCT_NBR in both views)VIEW_1 contains several thousand records, and VIEW_2 contains only 15.What I would like to do is...
View ArticleMigrating & Scripting Maintenance Plans
We are migrating from SQL Server 2008R2 to 2012. I have following questions:1- How do I migrate Maintenance Plans?2- Is there a way to script migrating a Maintenance Plan?Thank you for your help.
View ArticleError: 5123 CREATE FILE encountered operating system error 5A(Access denied.)
HI , This is a problem I encountered when I had to detach a database file (type .mdf): 1) I went to the MS SQL Management Server Studi and detached my database file successfully from a connection...
View ArticleStrange Connection Issues with Instance Name
I have set up two instances on a server (SQL 2014 Enterprise). One instance is named DW, the other one is name DW1.I am able to connect to Analysis server using Server1\DW and Server1\DW1 remotely....
View ArticleHow does locking works in SQL Server
Hi,I am using SQL Server from some time but I still feel don't know some fundamental things e.g. locking. When we run SQL queries how does locking work, I know there are row level and table level lock,...
View ArticleA question about tempDB and performance
HelloCan someone please help me with the following question. I am not a DBA but rather have a question related to database performance, as I read a related post and want to understand the relationships...
View ArticleExecute SQL statements
What are the ways available in SQL Server to execute SQL statements?.
View ArticleDoes installation language make a difference?
Hello all,A client has request a new server with Server 2012R2 and SQL 2008R2.I have installed it all in English, and they have now said that they have an application that will only run on a FRENCH...
View ArticleGood book on Microsoft SQL Server 2012
Hi Guys,which book you would recommend to learn SQL Server 2012 from SQL developer's perspective, instead of SQL Server DBA.Thanks
View Articlehow to create a composite nonclustered index using sql server management studio
Hi,How do I create a composite non clustered index using Manage Index and Keys dialogue box?sukai
View ArticleResuse existing object (Sp,tables etc)or create new object if that is possible?
Hello Everyone,Is it a good practice to create new objects (stored procedures, tables etc.) or modify and reuse the existing object if that can be done?RegardsRegards
View ArticleSelect query gives insufficient system memory.
Issue: Msg 701, Level 17, State 123, Line 1 There is insufficient system memory in resource pool 'default' to run this query. Details : Some times we are getting the above issue when we run the select...
View ArticleHow much HDD space and an index possibly use?
I just ran this:sp_spaceusedDB size is 5432MB.reserved data index_size unused 5556408 KB 5336728 KB 1184 KB 218496 KBI have only Windows 7 and SQL Server 2014 installed on a 40GB...
View ArticleAttach SQL Server 2000 database file to SQL server 2014
HI All, I want to attach SQL Server 2000 database file to SQL server 2014, but this error message occurs,“Database db_14 cannot be upgrade because its non-release version (539) is not support by this...
View Articlehow to setup a variable attachment in SendMail task in SSIS?
Hi Everyone,I'm using a SQL2k5. I want to configure a variable attachment in SendMail task, but I didn't find where I should go to. In the above pic, I can only input a hard-coded path. Howerver, the...
View ArticleWindows update quits working giving me access error when installing SQL...
I am at my wits end. I've been developing on Windows for 20 years but have never run across something like this. On Windows 7 Pro I need to install the SQL Server 2014 demo (SQLServer2014-x64-ENU)...
View ArticleMoving Default Trace File in SQL Server
How can I move the default trace file in SQL server? SQL Server 2012?Thanks in advanceebro
View Article