Forum Replies Created

Viewing 15 posts - 48,346 through 48,360 (of 59,064 total)

  • RE: I AM HAVING THIS UNIQUE AND STUPID SITUATION IN SSIS FROM MAINFRAME

    Just for grins, I'd still like to know the naming convention of the files that aren't empty../. 😉

  • RE: How do I determine Free & Total Space for disk drives, using T-SQL?

    Those are all good, but let's revisit the OP's restrictions...

    xp_fixeddrives returns FREE disk space, but not TOTAL disk space.

    xp_cmdshell will not work because this is a high security place.

    sp_OACreate, sp_OAMethod,...

  • RE: Freak query ...

    virgilrucsandescu (9/10/2008)


    I have these queries:

    1a - select * from import_cc_requests where reference not in (select reference from import_cc_payments )

    or

    1b - select * from import_cc_requests where rtrim(reference) not in (select rtrim(reference)...

  • RE: Off IF...ELSE Behavior

    Heh... you want to do 12 "IF's" per query, Jody? No, no need for IF's here. You didn't post any test data so the outer query...

  • RE: Off IF...ELSE Behavior

    Crud, I made a mistake on the fiscal year :blush:... don't use the code above... I'll post a correction soon.

  • RE: Off IF...ELSE Behavior

    Sorry... deleted this post... I made an error in the code. Repaired further on below...

  • RE: Freak query ...

    Lowell (9/10/2008)


    two also i prefer to use a left join syntax instead..

    Check the execution plans of both on a set of big tables sometime...

  • RE: I AM HAVING THIS UNIQUE AND STUPID SITUATION IN SSIS FROM MAINFRAME

    What is the naming convention for the pairs of files?

  • RE: killing old spids

    Fraggle (9/10/2008)


    That would completely depend upon the business you are in and the companies security requirements. I could see reasons for doing it.

    Just make sure you don't kill any...

  • RE: Sp inside Sp gets stale and very slow. Unless I recreate it, when its fast

    If you use parameters on either proc, you may be fighting "parameter sniffing". Google it for a wealth of information.

  • RE: TOP and TABLESAMPLE

    Wow... although I've not needed to use it, I've heard about TableSample before. Didn't know it would return a random number of rows in the rows mode. What...

  • RE: sqlquery

    Heh... thanks for the confidence in the Tally table, Gary, but I don't believe it can be made to number rows for what's essentially a 1 row "paging" system. ...

  • RE: String function

    Sergiy (9/10/2008)


    khushbu.kumar (9/10/2008)


    Thanks a lot Chris!

    But the here posted code was just a snippet

    i really dont know how many rows can be present(i'm selecting them on the basis of...

  • RE: Concatenate multiple rows into a single row

    anthony.evans (11/15/2007)


    simple but effective solution in sql 2000 , modified to return each case statement result in different column , effectively creating pivot report.thank you

    If you'd like to see more...

  • RE: disabled component to install

    Absolutely not... if you want to install on some version of Windows for a desktop, you need to buy the Developers Edition... it costs less than a good book on...

Viewing 15 posts - 48,346 through 48,360 (of 59,064 total)