Viewing 15 posts - 9,781 through 9,795 (of 13,461 total)
it's up to you; you can combine the functionality in the same trigger.
I'd just make a second trigger, but it is up to you.
i noticed your trigger will not send...
March 29, 2010 at 7:57 am
I'm curious; someone went to a lot of trouble to create 2000 jobs. what is your reason for wanting to delete them now? are you replacing them with something new?...
March 29, 2010 at 6:11 am
well, somehwere in your code, you have these two variables declared; just change their definition to a bigger value:(and make sure @msg is HUGE to hold the concat of these...
March 29, 2010 at 5:21 am
looks like it's just a syntax error because of some double quotes; the double quotesd belong inside the single quotes to create the string.
assuming you wanted double quotes around the...
March 29, 2010 at 5:10 am
also, isn't the implicit conversion of left(getdate() -1,11) dependent on the servers regional settings? I think that makes an assumption on the regional settings that might not be true...
March 27, 2010 at 4:23 pm
usually, linked servers do not allow DDL commands; only DML insert/update/delete/select.
AFAIK, you can't even create temp tables on a SQL linked server, fir example, which i would think would be...
March 27, 2010 at 4:19 pm
no, sorry.
the intellisense works only using 2008 client tools connecting to a 2008 instance; the same tools, when connecting to a pre-2008 instance do not enable themselves.
March 27, 2010 at 8:47 am
Great Plains is an application which can use SQL Server as it's database.
Great Plains versions 5 through 6 offered a number of database options, including c-tree, pervasive, and MSSQL...
March 26, 2010 at 11:51 am
keep in mind that if someone is restoring the database, the restore point might not have the users you are adding back constantly; that's a probable thing to look for...
March 26, 2010 at 11:41 am
remember getdate returns the time portion of NOW: 2010-03-26 12:18:05.390
you want to start at midnite yesterday, not 12:18 of yesterday.
and another way:
--2010-03-25 00:00:00.0002010-03-25 23:59:59.997
select DATEADD(dd, DATEDIFF(dd,0,getdate()), -1),
...
March 26, 2010 at 10:15 am
all the levels can be found in this thread:http://www.sqlservercentral.com/Forums/Topic447796-4-1.aspx
Forum Newbie - 0
Grasshopper - 10
SSC Rookie - 25
Valued Member - 50
SSC Journeyman - 75
SSC-Enthusiastic - 100
SSC Veteran - 200
Old Hand -...
March 26, 2010 at 8:11 am
There's a couple levels of auditing to consider.
using a profiler/server side trace would capture the commands against the table, but not the data itself. That's idea for determining things like...
March 26, 2010 at 7:28 am
thanks Paul; awesome performance on that one; i added that to my toolbox; excellent solution.
March 26, 2010 at 6:40 am
irena did you use sp_create_trace to make a trace, or did you use profiler?
a trace created with sp_create_trace runs until it is explicitly stopped or, if it was created...
March 26, 2010 at 6:34 am
Trey already knows this...he identified it as deprecated...this is so other folks(like me) don't have to google it.
the DUMP word was deprecated in favor of BACKUP; you cannot even use...
March 25, 2010 at 11:01 am
Viewing 15 posts - 9,781 through 9,795 (of 13,461 total)