Viewing 15 posts - 5,056 through 5,070 (of 13,460 total)
also watch for those fields that are missing the dash:
SELECT
CASE
WHEN CHARINDEX('-', CID) >= 0
THEN LEFT(CID, CHARINDEX('-', CID) - 1)
...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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?
Lowell
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...
Lowell
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.
Lowell
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?
Lowell
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...
Lowell
August 2, 2012 at 1:59 pm
yogi123 (8/2/2012)
Lowell (8/2/2012)
Lowell
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...
Lowell
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:
http://www.sqlteam.com/forums/topic.asp?topic_id=132921
Lowell
August 2, 2012 at 12:31 pm
was the password recently changed for the user PPSCENTRAL\mrcluster , and the job not updated withthe updated password, maybe?
Lowell
August 2, 2012 at 12:19 pm
row_number() is your friend in this case.
that will allow you to rank/assign a value to each row:
SELECT ROW_NUMBER() OVER (PARTITION BY tblContactID ORDER BY tblContactID,TotalDue) AS RW,* FROM #TEST
then with...
Lowell
August 2, 2012 at 11:21 am
Viewing 15 posts - 5,056 through 5,070 (of 13,460 total)