Viewing 15 posts - 10,201 through 10,215 (of 26,489 total)
The other issue with having all the backups in one file is that you lose all the backups if that one file becomes corrupt.
August 9, 2012 at 8:02 am
ESAT ERKEC (8/9/2012)
This is the solution but i am going to try it
Why wouldn't a restore of the database solve the problem? As long as the corruption did not...
August 9, 2012 at 6:58 am
First, you shouldn't use SET ROWCOUNT to control the number of rows affected by your DELETE statement. This functionality has been depreciated and may be removed in future versions...
August 9, 2012 at 6:19 am
Turns out the space may not matter (tested here at home), but the parens violated the ALTER TABLE syntax.
Regarding the space, it may really come down to being consistent when...
August 8, 2012 at 7:26 pm
Duplicate post, please post any replies here.
Please don't double post.
August 8, 2012 at 6:36 pm
Hoping you are working on this, but thought I should post what I have done.
DECLARE @SourceDatabaseName NVARCHAR(128) = 'MyDatabase';
DECLARE @nSQL NVARCHAR(MAX);
BEGIN
SET @nSQL = '
IF NOT EXISTS (SELECT * FROM '+...
August 8, 2012 at 4:57 pm
Need the DDL (CREATE TABLE) statement for your #RptParms table and some sample data for the table. Without that, not much we can do.
August 8, 2012 at 4:55 pm
Also, the code you posted still has a space where you don't want one.
August 8, 2012 at 4:42 pm
First of all, you didn't provide the complete error messages, no line numbers. Second, this is the sql I have printed:
IF NOT EXISTS (SELECT * FROM MyDatabase .INFORMATION_SCHEMA.COLUMNS ...
August 8, 2012 at 4:41 pm
You are probably looking for something like this, at least based on what you provided.
CREATE TABLE dbo.Customer(
FlightNbr varchar(50) NULL,
DeptDateTime datetime NULL,
Origin varchar(50) NULL,
Destination varchar(50) NULL,
FirstName...
August 8, 2012 at 4:31 pm
What are the valid codes for HistoryAction?
August 8, 2012 at 4:09 pm
Going to add a third agreement to backup local, move to network.
August 8, 2012 at 4:05 pm
Can you post the code, and the exact error message you are getting?
August 8, 2012 at 4:03 pm
I can relate but in a different way. One of the bloodest projects I had was automating an invoicing process at a former employer. I was very...
August 8, 2012 at 3:54 pm
Can't really answer your question about double processing, can't see what you see. Also, we don't have your tables or sample data so we can't run your code to...
August 8, 2012 at 3:38 pm
Viewing 15 posts - 10,201 through 10,215 (of 26,489 total)