Forum Replies Created

Viewing 15 posts - 9,781 through 9,795 (of 13,461 total)

  • RE: create & update trigger

    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...

  • RE: dropping multiple jobs

    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?...

  • RE: Trigger to send an email when ever a table is updated

    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...

  • RE: Trigger to send an email when ever a table is updated

    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...

  • RE: Getdate with previous date

    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...

  • RE: MySql Liniked server - create table

    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...

  • RE: Intellisense in client tools 2008

    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.

  • RE: SQL 2005 connects with Great Plains??

    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...

  • RE: Audit sys.database_principals?

    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...

  • RE: Getdate with previous date

    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),

    ...

  • RE: How to Play the SSC Game - SSC Points

    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 -...

  • RE: Is it possible to Audit a Single table?

    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...

  • RE: Parse field with Numeric ranges and comma deliminated values

    thanks Paul; awesome performance on that one; i added that to my toolbox; excellent solution.

  • RE: Server side trace

    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...

  • RE: Bad Practice

    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...

Viewing 15 posts - 9,781 through 9,795 (of 13,461 total)