Viewing 15 posts - 5,446 through 5,460 (of 13,468 total)
In addition to Jared's sharp analysis, you are updating every row, even if the values are the same.
if there was an index on lnhist_acct_nbr,lnhist_appl_code,Other_Flag_50 my sample code below might...
June 4, 2012 at 10:16 am
to continue on what Steve is saying, a hashed password is never unencrypted to it's original value.
what happens is a potential password is hashed,and the two hashes can then be...
June 4, 2012 at 9:28 am
scripting options is what you skimmed over; there are lots of stuff you can turn on and off:

June 3, 2012 at 6:58 pm
I read your question completely wrong. Manie; Anthony read it correctly.
offhand, getting it in might be difficult; it's just like sending a mail from home versus sending it at work;...
June 2, 2012 at 4:15 am
don't believe so; the hash(encrypted binary actually, i think?) of the password is compared to the hash that is stored in credential for the login associated in the sys.server_principals view,...
June 1, 2012 at 8:26 am
the key is to look in the Output window for the issue:
i built a new project with your code, changed it to External and tried to deploy.
i had the wrong...
June 1, 2012 at 7:43 am
Manie the key is the specific error messages you see in msdb.sysmail_faileditems.
take a look at the data from this SELECT statement:
are all the err.[description], basically the same? what is the...
June 1, 2012 at 7:24 am
bad idea. bad bad.
first, don't do anything like take the database offline or anything without expert advice; Gail Shaw monitors this forum frequently..
run DBCC CHECKDB('db name') WITH NO_INFOMSGS, ALL_ERRORMSGS and...
May 31, 2012 at 2:28 pm
there's no way, as far as i know, to use dbmail in a set based mode;
sending individual emails is one of the places I think a cursor is no problem....
May 31, 2012 at 8:34 am
you simply want to use a case statement;
something like this:
---
N'<th>Total Space(in GB)</th>'
+ CASE
WHEN [FreeSpace] <= 90.0
THEN N'<th><span style="color:#FF0000";>Free Space(in GB)<//span></th>'+
...
May 31, 2012 at 8:24 am
i'm guessing that the cross database call to a date formatting function is the culprit. the otehr database has a different collation.
try this (collating the function value) as the first...
May 30, 2012 at 2:17 pm
although this solution will require a table scan, since the function on the column Name makes this non-SARG-able, this will work too:
select * from YourTable where DATENAME(dw,TheDate) = 'Saturday'
May 30, 2012 at 1:49 pm
If I was ever dropped into this kind of situation, I'd hire Gail as a consultant - by - remote in a heartbeat, even if the money came out...
May 30, 2012 at 6:22 am
also consider that it sounds like you can skip bcp completely;
sp_sendmail has the option to include commad delimited results, including headers as an attachment.
here's a code sample:
EXEC msdb.dbo.sp_send_dbmail
...
May 29, 2012 at 5:34 pm
latingntlman (5/29/2012)
I went with option one and after some tweaks, I have my temp table. Now, I'm getting ready to exec EXECUTE master.dbo.xp_cmdshell but I can't find this anywhere....
May 29, 2012 at 2:56 pm
Viewing 15 posts - 5,446 through 5,460 (of 13,468 total)