Forum Replies Created

Viewing 15 posts - 56,716 through 56,730 (of 59,072 total)

  • RE: Help - How to build this query

    David,

    You list a certain column (Seg or ID, ususally) in each of your tables as a Primary or Primary Key... are they actually Primary Keys with a PK constraint in place? ...

  • RE: Help - How to build this query

    Thanks for the feedback, David... you've restored my faith... sorry for the misread.

  • RE: Sorting a field

    You know the drill, Sree... "Show me the data".

  • RE: sudden slow down

    quote

    The auto update statistics is off.

    Luk... Sorry I missed that comment... Like I said... that's a form of...

  • RE: Select nthrow to mth row

    Not a bad approach but have you tried it on, say, a million rows?  Makes a real busy server if you have 2000 connections trying to do the same thing...

  • RE: HOW TO TRACK OR REGISTER INSERT, DELETE, UPDATE

    Yep, I agree... triggers will normally do the trick.  My only concern with triggers would be that folks with DBO, SA, DDL Admin, and (I think) Bulk Insert Admin privs...

  • RE: Help - How to build this query

    Hi Lowell,

    Heh... Not to worry, Lowell... as always, your response shows the good person you are.

    The give away is normally a question laid out so well that if the person...

  • RE: Newbie needs some T-SQL help, please

    If it's a once per month report as you say, Craig, then a view offers no particular advantage because the underlying data will have changed enough to force a "recompile"...

  • RE: Select nthrow to mth row

    Lowell covered that... you just need to modify the numbers in the "row 5 through row 12" example you asked for and he gave.  If you are using SQL Server...

  • RE: Select nthrow to mth row

    Ah... got it... especially the part about developers thinking that data is stored in a physical order... thought you were just being obvious and that's not the case at all. Thanks...

  • RE: HOW TO TRACK OR REGISTER INSERT, DELETE, UPDATE

    You'll need to do a fair bit more reasearch, but this snippet from Books OnLine (found under "auditing", imagine that?) should help you get started...

    C2 Auditing

    C2 auditing is necessary...

  • RE: Newbie needs some T-SQL help, please

    Be careful using "Views of Views"... the outer view will frequently cause the inner view to fully materialize it's rows especially when aggragates are used in the outer view... it...

  • RE: Help - How to build this query

    And... he's learned nothing because none of you asked him to show what he tried on what is very likely to be a homework problem...

  • RE: How to solve the conflict between INSERT and DELETE

    I believe adding the transaction increases the chances of a deadlock... better to let it wait than to form deadlocks.

  • RE: Select nthrow to mth row

    ??? I'm thinking that Lowell covered that pretty well...

Viewing 15 posts - 56,716 through 56,730 (of 59,072 total)