Viewing 15 posts - 2,326 through 2,340 (of 3,233 total)
Or, if you want to remove the dashes as well:
DECLARE @BackupFileName varchar(100)
SET @BackupFileName = 'C:\temp\TestDB_' + REPLACE(REPLACE(REPLACE(CONVERT(varchar,GETDATE(), 20),'-',''),':',''),' ','') + '.BAK'
BACKUP DATABASE TestDB
TO <A href="mailto
2 questions for you:
1. You say that the message says that 3000 rows were affected but that the table is not affected. If you are updating the row to the...
April 17, 2007 at 11:30 am
For what it's worth also, the SYSLOCKS table should no longer be used as it has been replaced with SYSLOCKINFO. In your query, you are joining them both together. You...
April 16, 2007 at 2:29 pm
"SQL Server will "feel" confused"
I've always kind of thought that SQL Server had feelings! Anyhow, I'd agree with SQL Oracle that it is possible that the file is corrupt or...
April 13, 2007 at 3:39 pm
Run RESTORE FILELISTONLY FROM DISK='fully qualified backup path and file name' to get the abc_data and abc_log values for below. Then restore the DB using a QA session opened up...
April 13, 2007 at 3:06 pm
Please keep us posted as to an update on how your volume testing goes with this approach. I will help those who read this thread going forward.
Thanks.
April 13, 2007 at 9:08 am
How can a trace definition be any more re-usable than saving off a template? Can you explain why this is clunky? I think we may be missing something here. Please...
April 12, 2007 at 3:48 pm
"It has the down side that you have effectively created a temp table name that you now cannot reuse in another procedure."
Michael, I think what Sergiy was impying here is...
April 12, 2007 at 1:04 pm
"Not a 64-bit guy, just what I read."
Me either. Maybe I shouldn't have answered this post!! Sorry if I caused anyone confusion.....
April 12, 2007 at 9:25 am
SQL Server treats an application lock just as it would a lock on any other physical resource such as a table. I have not played around with it enough to...
April 11, 2007 at 4:36 pm
Along with what I've said here: http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=357553
Create an 'Execute Process' task in your package and call the command line command to unzip your file.
April 11, 2007 at 4:32 pm
I went through and looked at your recent posts and it appears that your file import is more than just a simple bulk insert. It looks like you have a...
April 11, 2007 at 4:30 pm
You may also consider writing logic into your stored procedure to take advantage of SQL Server's application locks. Use BOL to read up on sp_getapplock. In a nut shell, you'd...
April 11, 2007 at 4:18 pm
If I'm reading you correctly, you want to know how much of the 8GB you should give to SQL Server? I would recommend giving SQL Server 7GB of the memory...
April 11, 2007 at 4:12 pm
I would definately consider re-designing the process here. Many database developers will try to code things into triggers simply because the word 'Trigger' makes them think to use triggers to...
April 10, 2007 at 1:10 pm
Viewing 15 posts - 2,326 through 2,340 (of 3,233 total)