Forum Replies Created

Viewing 15 posts - 57,406 through 57,420 (of 59,059 total)

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

  • RE: Sum on a row

    Mark left out one part and if you did, too, you WILL get the same results... your GROUP BY has to be by the same formulas that Mark gave you...

  • RE: Query Running Slow

    Outstanding list, Rudy... I'd like to bump your rounds down 1 and add a new round 1... "Write scalable code to start with."

  • RE: Script Field formats.

    Don't think that's quite what Nick meant...

    Nick... You can do this by creating your view like this....

     CREATE VIEW dbo.someviewname AS

     SELECT CAST(dflt_cyl_ctf AS DECIMAL(18,4)) AS dflt_cyl_ctf,

            CAST(cyl_ctf_actv AS INT)...

  • RE: Log file

    As some have correctly suggested, unless you do backups everyday, you should have the "recovery mode" set to SIMPLE.

    DO NOT LIMIT THE LOG FILE!!!  IF IT TRYS TO GROW BEYOND...

  • RE: Generic Audit Trigger

    Ok... first, thank you very much for making my life easier for testing... the good news is, I get no errors with the following test code.  The bad news is...

Viewing 15 posts - 57,406 through 57,420 (of 59,059 total)