SQL server service and SQL agent service
Hi all. If I am going to use a Domain User to start SQl server service and SQL agent service,does the domain user need to be SYSADMIN ????
View ArticleSQL add/update cursor error
I'm using MSSQL 2005 as a backend and VB6 as a front end. I am able to add and update using the back end but when trying to enter data in the frontend application I receive this error: "The cursor does...
View ArticleUnable to connect through named instance on a cluster env
Hi All,I am unable to connect through named instance on a cluster env, and it happens on the active node where sql server is installed, however when we move the service to the passive node, it start's...
View Articleissue while inserting values into tables
I have a table (abc_table) and i need to insert 2 millions RecordsWhile i was inserting data into table (First these data will insert into Temp tables then insert into actual tables ) 4000 records are...
View Articleto be NULL or NOT NULL is here the question
Hi!I have a task about analyzing data to generate some metadata about Products having values for specific measures or not. (Severalproducts of different types are stored in same table, but not all...
View ArticleRunning TSQL job with minimal access
We are working on tightening up our security structure and I am having issues figuring out to handle the TSQL jobs. The users use to be sysadmins and now they will have read/write access to the data...
View ArticleEnforce to use the port# while using "SQLCMD"
Hi, I didn't get much help after extensive search. So thought of bringing a silly question infront of master minds. Recently, we secured SQL Server with non-default port# (3890), disabled SQL Browser,...
View ArticleBCP memory not releasing.
Hi, I am running BCP command to copy the data from a file to the database in a while loops. as the number of iterations goes up, the memory usage is grown to the extreme and it consumed all my 64 GB...
View ArticleLinked Server error - Msg 7311, Level 16, State 2
We have three SQL Servers:SQL 2008 Instance w/ SP1 cumulative update #5; running on Windows Server 2008 r2SQL 2008 Instance w/ SP1 cumulative update #5; running on Windows Server 2003 r2SQL 2000...
View ArticleThe operating system returned error 23(Data error (cyclic redundancy check).)
My Stored Procedures and Jobs Showing this Error. Even though i can able to access the data throgh SSMS in Database Engine.Please help on this.Executed as user: RMS\Administrator. The operating system...
View ArticleVeritas MS SQL differential backup interrupt MS SQL Native differential backup
I have MS SQL 2005 Enterprise edition and I am taking weekly(Every Sunday) full backup and daily differential backup using Veritas backup tool.Now I got request from application team to take SQL native...
View ArticleProblem Copy big Table sqlserver 2012
Hi Friends,Its 4th day I am trying to copy table having 7 million record with text field into same database (sqlserver 2012) , but fail although I am using blade server with 256 Gb memory and...
View Articlehow to avoid ix and u lock on delete and share lock on select in sql server
Hi i have sql server 2008 developer edition i am deleting record 20000. and reading record with no-lock in same table. i got this type of message for delete transaction and select transaction delete...
View ArticleAny one knows urls about sql server (2008r2/2012/2014) most recent kbs or...
Hi,Does any one knows urls or blogs or rss that collect sql server (2008r2/2012/2014) most recent kbs or hotfix?Windows 2008 R2 is also.Many thanks.
View ArticleConditional Foregin Key constraint
I am trying to implement a check constraint (since Conditional Foreign keys are not possible).In my table, column REFDCD should either be blank or should be found in the Primary Key (DLR_CODE) of the...
View ArticleSQL Server Query Plan Generation take longer
Dear all,We are dealing with a wired issue where queries on there first execution take approx 1 min to 2 mins to execute and later execution completes in less than a second,Can you please help us...
View ArticleIt takes a long time to restore a database in SQL Server 2014
It takes very long time to restore database on SQL 2014 (version 12.0.2402.0 - CU3).99% of the time is taken by log pre zeroing (even if the log contains < 20 VLFs) which is fixed for SQL 2012 in KB...
View Articleerror 1069: The service did not start due to logon problems
The local sql server that was working fine earlier does not start now. I have already created tables and accessed them using stored procedures.I get an error 1069: The service did not start due to...
View ArticleLicencing SQL Server Per Core on Multiple Nodes with different CPU per Host
Greetings, I would like to know what kind of licencing I should do in this architecture:Cluster with 4 NodesNode 1: 12 Cores;Node 2: 12 Cores;Node 3: 16 Cores;Node 4: 16 Cores;Having 4 Instances...
View Articlesys.dm_db_stats_properties returns empty rowset for some statistics?
I am looking at the new dynamic management function sys.dm_db_stats_properties.http://msdn.microsoft.com/en-us/library/jj553546.aspxI have found that for some tables and statistics it is returning an...
View Article