Viewing 15 posts - 481 through 495 (of 920 total)
Could you show us the restore command you're using, the messages you get out of the restore operation, and the DBCC commands you issue after the restore is complete? ...
May 5, 2010 at 5:41 pm
Permissions problem? When you run it under your credentials, it works, but the agent is using the credentials of the account the agent is running under. The first...
May 5, 2010 at 2:59 pm
Is it the time portion of the date that causes the incomplete delete? Getdate will return a time portion also and subtracting days will leave the time portion intact...
April 30, 2010 at 2:09 pm
Just a shot in the dark without being able to see the code, but if you're using the variable in any concatenation operation, you might want to set the CONCAT_NULL_YIELDS_NULL...
April 30, 2010 at 11:24 am
So it's
select '09' + Ther_id
or
select '09' + convert(varchar(4),Ther_id)
depending on whether Ther_id is a character or numeric datatype already.
April 29, 2010 at 11:08 am
It sounds more like a concatenation problem rather than a substring.
select '09' + convert(varchar(4), id) from ....
will get you 09xxxx where xxxx is the id. If the id...
April 29, 2010 at 10:51 am
Tacoma, Washington
Born and raised in Cannonsburg, Kentucky
Lived in Huntington Beach, California, for 9 years then moved north and plan to stay. Washington is beautiful, the people are friendly and...
April 28, 2010 at 12:57 pm
I'm not sure there is a 'best practice', but here's a link to a Microsoft article that, I think, covers what you want to do.
http://support.microsoft.com/kb/272318
Good luck.
April 23, 2010 at 6:05 pm
When the database is in full recovery mode, the log will grow until you back it up, at which point, it will remove the committed transactions and reuse the space...
April 23, 2010 at 5:51 pm
What recovery mode is the database in? Can you back up the log to another drive?
April 23, 2010 at 5:40 pm
Judging by the tone of the posts, I think he meant 'you couldn't have been more helpful' . It was a sincere 'thank you', not a complaint.
April 23, 2010 at 12:57 pm
Build another table. Copy the data from all the individual tables into the central table and add a customer id, if there isn't one already. Report from the...
April 16, 2010 at 3:56 pm
They spent 4 months testing the applications to make sure they would work in a native 2005 environment. The test databases were also in 2000 compatibility mode, so they...
April 15, 2010 at 3:41 pm
Yes, it's a strange position to be in. I just found out that the outsourcer, who shall remain nameless, was paid to migrate some databases from SQL Server 2000...
April 15, 2010 at 2:34 pm
If all you're really trying to do is reverse the string, why not use reverse()?
April 15, 2010 at 12:35 pm
Viewing 15 posts - 481 through 495 (of 920 total)