It 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 ArticleIf i deleted huge data from the database and didn't do a shrink, will the...
Hi,I have deleted huge amount of the data from a database but i didn't do a shrink.So my question is if i didn't do shrink and use the database as it is with (inserts, updates, selects) the data file...
View Articlejobs are not disabled
Hi All,I am trying to disabling the jobs but the jobs are not disabled.'Alter failed for job' ' . The specified @job_id() doesn't exist. (Microsoft sqlserver error:14262)'.Sqlserver 2005 standard...
View ArticlePreserve Leading Zeros in SQL export to TXT
I need to export accounting data from SQL to a series of TXT files, with a "ServiceCode" of 02. I cannot get the leading zero to stick.Here is the section of the SQL stored procedure that pulls the...
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 Articlesql server express 2014 error " Attempted to read or write protected memory....
hi I tried to create a new database diagram on sql server database management studio but I got this error: Attempted to read or write protected memory. This is often an indication that other memory is...
View ArticleWhy is the PWDCOMPARE function not supported on an Azure SQL Server 2014...
I have tried to publish a database from our local SQL Server to Azure but receive an error saying PWDCOMPARE is not supported with no link to a reason why.We are using HASHBYTES function to encrypt...
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 Articlepossible to upgrade from sql2008r2sp1 directly to sql2008r2sp3 (Cumulative...
is it possible to upgrade from sql2008r2sp1 directly to sql2008r2sp3 (Cumulative issues)?thx_eg
View ArticleAccess SQL Server data at time of Windows OS Boot Process
It is possible to access SQL Server data at time of Windows OS Boot Process and before login into Windows.if anybody any idea on this. If you think my suggestion is useful, please rate it as helpful....
View ArticlePermance tunning - before start comparing two quaries, what commands needs to...
Hi Team, What all steps needs to execute before start comparison over two different quarries having with different execution plan, but gives same output.Do we need to clear any cached data or...
View ArticleFill factor value should be low or high in case of bulk insert operations of...
Fill factor value should be low or high in case of bulk insert operations of the index?Thanks
View ArticleCan Apply SP2 Without SP1 in SQL 2012
Hello- I am planning to install SP2 for SQL Server 2012 and I didn't apply SP1. Could it work correctly for me if apply SP2?I have also found that: SP1 file size is approx.3GB and SP2 file size is...
View ArticleDatabase Files Name Change Auto in SQL Server 2012
I am working on SQL Server 2012 and I am restoring diff db's backup with different db names. But, all the time I need to change their db files names manually its not being changed. In sql server 2008...
View ArticleThe connection was recovered and rowcount in the first query is not...
Since we've moved to SQL 2014 we see some of our jobs error with the message in the subject of this post. What does it mean? I've looked all over and haven't been able to find anything of...
View Articledoes "GRANT VIEW DEFINITION" travel with database?
Hi all,If I have a database, let's say "DATABASE_A" and I grant a user a permission like "GRANT VIEW DEFINITION", if I backup the database and restore it to a different server, does the permission be...
View ArticleHow to Increase the Accessing Speed
Dear All,The Accessing of Website is very slow for Clients. How to Increase the Access Speed for Clients. Please send the List of activities have to do for increasing the performance.
View ArticleQuery Tuning
How to write the below query in better way so that it will use index on claim_line_service_begin_date DATEDIFF(yy,claim_line_service_begin_date,GETDATE()) <=3
View ArticleHow To Get Only Month or Only Year from datetime format of yyyy-mm-dd
Hi SQL gurus,I have field has datetime format of yyyy-mm-dd (ie. 2014-11-28). Could anyone please educate me on how to extract only month (ie. November but not 11) and only year (ie, 2014) from...
View Articlecan not truncate table because foreign key reference
Hiwhen i was trying to truncate the table(truncate table table_name) i got this bellow errorError: Cannot truncate table because it is being referenced by a FOREIGN KEY constraint.as per the error i...
View Article