Forum Replies Created

Viewing 15 posts - 57,391 through 57,405 (of 59,049 total)

  • RE: quantize ?

    Kind of where I was going with this but it's important, I think, to include the date columns in that so that you endup with a nice, whole datetime as...

  • RE: dtproperties

    Nope... that works too... I just thought I'd show another way.

  • RE: Sql 2000 DTS timeout?

    I'm thinking that someone has done an update in a transaction with no commit from Query Analyzer... locks up the world sometimes.  Use sp_lock and sp_who2 to find out who's...

  • RE: Renaming a view

    Concur with THAT!!

  • RE: dtproperties

    --===== Return user created tables only.  Ignores dtProperties, as well

     SELECT Name

       FROM dbo.SysObjects

      WHERE OBJECTPROPERTY(OBJECT_ID(Name),'IsMSShipped')=0

        AND XType = 'U'

    'nuff said...

  • RE: quantize ?

    Oh no, no, no.... this is a lot easier than that... but I need you to post the CREATE statement for the table...

  • RE: Generic Audit Trigger

    Heh-heh... My first inclination was to say "don't use text columns"   I won't even allow them into code at work because of...

  • RE: Script Field formats.

    Thanks Nick... I'm still curious though... why do you need to change the datatype of a column in a view?

  • RE: Pass a value to a trigger...

    I was leaning towards the previously suggested idea of some sort of permanent table for this and then I started thinking "spid" and then David stole my thunder

  • RE: Sql server 2000 Locking

    Yeah.. that's what I was kinda getting at... if it's all SELECTs, what's the problem

    Also, what I've found is that a lot of...

  • RE: Sum on a row

    Yep... I knew that, Mark I just didn't think that Shine recognized that because he said your code change didn't work and...

  • RE: Generic Audit Trigger

    Yep... First, I changed the function to capture the data type... again, you'll need to change the name of the function...

     CREATE FUNCTION dbo.fnColumnsUpdated

            (@TableName SYSNAME, @BinaryColNums VARBINARY(128))

            RETURNS...

  • RE: Log file

    THAT would certainly be a limit, huh?   Yeah, I know they reached the end but then they said they'd limit it to 300...

  • RE: OSQL echoing to outputfile

    Mr B... PRINT is exactly what you are looking for... if you don't want the rowcounts to show up in "standard" format, you can do a SET NOCOUNT ON and...

  • RE: Looking for a good Database Design guide

    Books Online... comes free qith SQL Server... lookup "Database Design" (I think)...

Viewing 15 posts - 57,391 through 57,405 (of 59,049 total)