Viewing 15 posts - 6,211 through 6,225 (of 13,469 total)
BOL says the user needs ALTER permission on the database to rename it:
December 15, 2011 at 2:32 pm
sqlguy-736318 (12/15/2011)
I have a...
December 15, 2011 at 2:28 pm
i'm pretty sure it's simply using the .NET classes System.Net.Mail.SmtpClient and System.Net.NetworkCredential to send any emails;
in .NET, it's pretty simple to use that to send an email.
this is how...
December 15, 2011 at 2:24 pm
does your database have any triggers?
if the trigger is not well written, it might rollback the action(in this case, a delete, right?) and the data would remain in place...that's the...
December 15, 2011 at 12:52 pm
here's away that takes foreign keys into consideration; with MsForEachTable, you get errors in deleting due to foreign key violations.
it also has the ability to add tables you want to...
December 15, 2011 at 9:09 am
newbieuser (12/15/2011)
I would...
December 15, 2011 at 8:31 am
i've seen and create scripts to transfer logins from one server to another ...search for sp_help_revlogin...i believe there are different versions depending on whether you are 2005 vs 2008,...
December 15, 2011 at 8:08 am
ok i declare mea culpa, now that i see that my post somehow got it's carats stripped out; that's how i found it in my snippets as well. i fixed...
December 15, 2011 at 6:29 am
i tried switching to LOWER as Brandie identified, and i get a function that never finishes executing...in the meantime, i'll post an older version from my supply of 8 differnet...
December 15, 2011 at 6:18 am
you'll have to script the jobs, i think; as i remember it,you'll hit a coule of issues:
system databases cannot be restored between versions or service packs. (ie 2005-->2005SP2, or 2005-->2008,2008-->2008R2,...
December 14, 2011 at 2:53 pm
TallyTable?
something like this:
SELECT SomeStuff
FROM BusinessTable
WHERE FiscalYear IN(SELECT YearNumber --An integer like 2010
...
December 14, 2011 at 1:47 pm
wouldn't forcing the optimizer to use merge joins, instead of allowing it to pick what it thinks is best also potentially affect the performance?
I'll let others expound on why nolock...
December 14, 2011 at 10:19 am
I've had a number of what i thought of as "developer only tools" that i generated to make my life easier suddenly get promoted into tools the QA or helpdesk...
December 14, 2011 at 7:48 am
well, searching the scripts and articles section here on SSC will get you lots and lots of examples for scripting out users and roles, and object permissions too;
permissions on the...
December 14, 2011 at 7:35 am
here's another example using 7zip's command line utility:
my example here shows my exe in a specific path for clarity.
http://downloads.sourceforge.net/sevenzip/7za920.zip
"C:\DataFiles\7zip_CommandLine_7za465\7za.exe" a "C:\DataFiles\myZipFile.zip" "C:\DataFiles\" -y
December 14, 2011 at 6:19 am
Viewing 15 posts - 6,211 through 6,225 (of 13,469 total)