Viewing 15 posts - 1 through 15 (of 16 total)
Hi,
What is being returned to @weeknumber before you try the SET @WeekNum = 'SELECT * FROM w' + @weeknumend?
Regards
Stephen
April 7, 2014 at 8:48 am
Hi,
The previous link is very useful, or you can
http://social.technet.microsoft.com/Search/en-US/?query=Error%20messages%20sql%202005&ac=8
This is the same just searching for error massages for SQL 2005.
Regards
Stephen
May 25, 2009 at 5:14 am
If you have dropped the master key for that database, and recreated it. Meaning created the same one again, you should take you database online and offline to enable the...
May 6, 2009 at 8:17 am
Hi,
As Hakan stated before,
Check all running jobs through that time period. To me it also sounds like BACKUPS or INDEX REBUILDS.
If you can find anything running during that...
February 18, 2009 at 12:54 am
Hi There,
Why don't you use VARCHAR(MAX) this can take way more then the 4000 you are trying to use now.
stay away from ntext can cause other issues down the line.
Hope...
February 12, 2009 at 12:11 am
Good Day,
Using the name master for a database name is not the best idea, as this is the same as the system databases.
If you created the tables inside the MASTER...
February 11, 2009 at 12:38 am
Hi,
You can use option 2 where you create a SSIS package and populate a table.
Create the table with the information you request then add a new column on with...
February 3, 2009 at 10:41 pm
Hi,
In MS SQL Server Management Studio, right click on the server and click on Properties.
This will bring up a new window and you will see "Name"
Regards
Stephen
January 13, 2009 at 6:19 am
Hi,
Ok This means that your original job to shrink is still running in the background.
Do a sp_who2 and a sp_lock to see which process is holding that database. then once...
July 30, 2008 at 9:45 am
Hi,
Try to shrink file instead of database, this would make the file shrink.
If this does not help, then you must see what the initial size of database(datafile) is set to.
July 30, 2008 at 7:44 am
Good Day,
You can use the "BEGIN TRAN" and "COMMIT TRAN" OR if you need to rollback then just use "ROLLBACK"
BEGIN TRANSACTION @TranName;
GO
USE AdventureWorks;
GO
DELETE FROM AdventureWorks.HumanResources.JobCandidate
WHERE JobCandidateID...
July 18, 2008 at 3:38 am
Good Day,
Try and put square brackets "[]" around Second Database, it could be the space between the two names that is causing the issues.
You can also try and remove the...
July 17, 2008 at 2:55 am
I would agree, straight conversion from Query to Stored Proc would not stop dead lock.
Rather get the queries working right then convert them to a stored procedure.
July 17, 2008 at 2:12 am
GilaMonster (7/15/2008)
shahbaz.oradba (7/14/2008)
Hi,how can we know that particular query is taking long time and we have to optimize that,and i heared that query optimization through sqlserver profiler degrades the perfomance.?
If...
July 15, 2008 at 1:27 am
Viewing 15 posts - 1 through 15 (of 16 total)