Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 2,469 total)

  • RE: help me in delete records

    ok - ok remi - you'll have to give me marks for at least trying to match your speed...know it's a lost cause but still...

  • RE: help me in delete records

    CREATE TRIGGER trgInsertIntoNewTable

    ON test

    FOR DELETE

    AS

    SELECT * INTO newtable FROM deleted

    GO.....?!?!

  • RE: Help with query to calc new field

    chris - shouldn't it just check for

    case when sum(returns + short + notdeliver+damaged) = 0 then null else draw / sum(returns + short + notdeliver+damaged) end AS '%sale'...

    as opposed...

  • RE: select distinct cast

    I'm quite willing to be a heroine if you would at least tell me what it is that you are trying to accomplish with all those casts...splly. where you're trying...

  • RE: Can SSC build a search option "only in my posts/subscriptions"

    Now that would definitely be useful - please add my name to the list of petitioners!

  • RE: #Temp Table

    afaik - temp tables are transient by nature and definition and the only way you can view the data in temp tables is by doing a "select *..." in QA!

    Or...

  • RE: Who''''s going to PASS?

    Not to sound like Heloise...oh wait...I think I mean Dr. Phil..

    Dale - "the silky terrier has spoken" - pay heed and don't wait for...

  • RE: Who''''s going to PASS?

    Oh No Dale - I was hoping you hadn't heard of it!

    at any rate - please be nice...I promise not to delve too...

  • RE: #Temp Table

    erik...never forget BOL...if you do a "select * from sysobjects where name like '#%'" - or even simply "order by name" you should see your table...

  • RE: Who''''s going to PASS?

    Clothing optional? (Ha! Ha! Just checking to see if you were reading this!.........

    if that didn't catch anyone's eye nothing will..

    request...

  • RE: Select next 100 rows

    you may be talking about...

    SET ROWCOUNT 100 ?!?!

  • RE: top 2 dates

    oops - vasc - i think we have identical solutions - looks like i cannot type even with moderate speed anymore...

    ..take that back...looks like...

  • RE: top 2 dates

    just so you have enough options...

    create table t1

    (name char(3),

    dtCol smalldatetime)

    insert into t1 values('aaa', '8/19/2005')

    insert into t1 values('bbb', '8/20/2005')

    insert into t1 values('bbb', '8/19/2005')

    insert into t1 values('ccc', '8/20/2005')

    insert into t1 values('aaa', '7/29/2005')

    insert...

  • RE: identity column

    yes - you can create the column as IDENTITY(int, 1,1)...but what do you want to do when you reach 999 ?!?!

  • RE: querying version of SQL server

    you can also do a "SELECT @@VERSION" and set the QA tools - options - results - to display the results as "text"!

Viewing 15 posts - 1,261 through 1,275 (of 2,469 total)