Viewing 15 posts - 5,056 through 5,070 (of 13,465 total)
To add What Sean is saying; changes are often not just DDL schema changes; when you add a new table, you may have added new rows in that new table...
August 3, 2012 at 12:15 pm
don't you just need to assign a new default database to the login in question?
assigning it master as the default is what i typically do.
ALTER LOGIN login_name WITH DEFAULT_DATABASE =...
August 3, 2012 at 11:32 am
also watch for those fields that are missing the dash:
SELECT
CASE
WHEN CHARINDEX('-', CID) >= 0
THEN LEFT(CID, CHARINDEX('-', CID) - 1)
...
August 3, 2012 at 11:09 am
Id say that a server side trace has an incedibly small footprint because its not capturing much; plus you get better tracing than watxhing a dmv and infering a logoff.
Test...
August 3, 2012 at 10:32 am
the advantage of the procedure is if i decide i want one running all the time, i can set the procedure to execute on server startup, so the trace gets...
August 3, 2012 at 9:33 am
I do.
this script adds a stored procedure, which i assume you would put in master:
linky for sp_AddMyLogonTrace.txt
After running the script to create the procedure, if you run
EXEC sp_AddMyLogonTrace
it will...
August 3, 2012 at 9:29 am
while not exactly a hosted environment, we provide our testers with he ability to restore their own specific database from a web page;
the page lets them select the path to...
August 3, 2012 at 9:08 am
for me , RBS needs the acronym spelled out, please;
is that Remote Backup Software? Remote Buying System? Royal Bank of Scotland? Really Bad Service? some software package?
August 3, 2012 at 7:36 am
i think the cursor is missing the FETCH that is supposed to be inside the cursor, so it knows to get the next record.
as it is now, it is processing...
August 3, 2012 at 7:21 am
Reverse the order of the tables isnmy recommendation.
Select from sys.tables where not exists in then dmv isnthe way ive done it.
August 2, 2012 at 6:07 pm
i think raising an error of level 20 disconnects the connection, so no further processing after the error would occur regardless of terminators; would that help instead?
August 2, 2012 at 2:04 pm
can you go back to the source and get the same data in another format?
AFAIK, there's no way to import from a PDF; you might be able to grab teh...
August 2, 2012 at 1:59 pm
yogi123 (8/2/2012)
Lowell (8/2/2012)
August 2, 2012 at 12:57 pm
the reindexing can be a huge operation; 1.5x the size of the indexes being rebuilt, as i seem to remember it. so the reindexing of a bunch of indexes...
August 2, 2012 at 12:40 pm
a post here by Gail Shaw(Gilamonster) says it might be the log has filled up on the database:
August 2, 2012 at 12:31 pm
Viewing 15 posts - 5,056 through 5,070 (of 13,465 total)