Forum Replies Created

Viewing 15 posts - 47,611 through 47,625 (of 59,064 total)

  • RE: Select Query to get two rows

    I absolutely agree... in fact, I agree so much, that I wrote an article about it.

    Please see the link in my signature for how to properly pose a problem on...

  • RE: Using xp_cmdshell

    I'd be much more interesting in knowing what it is that "Task.exe" does and why you think it can't be done in T-SQL, whatever it is. 🙂

  • RE: Using xp_cmdshell

    CHAR(3)? Do you mean CHAR(13)? 🙂

  • RE: Help with delete command

    Mike Gray (10/23/2008)


    I ran the code that Jerry posted

    DELETE PW -- COUNT(1)

    FROM performance_esx3_workload PW

    INNER JOIN performance_sample PS

    WHERE PW.sample_id = PS.id

    AND PS.sample_time < '2008-07-01'

    You...

  • RE: How to cast bad data

    Really? Try this and see if ISNUMERIC is actually what you want...

    SELECT ISNUMERIC('3D2'), ISNUMERIC('3E2')

  • RE: SQL Data Counter

    rishgup (10/23/2008)


    I have database which has 2 tables tblCount with counter_ins field and tblEmployee with emp_name, emp_last, emp_add adn emp_ph fields.

    There is no indexing on tables. And I want to...

  • RE: parametrized query errors

    Nikhil Shikarkhane (10/23/2008)


    @tablename is a local table variable.

    No it's not... it's the name of a database... and it's @DBName... 😉

  • RE: Wierd Counter!

    JohnDBA (10/23/2008)


    Please help me!

    I have this values that I need to count based on condition.

    - If the value is between 10 and 15 and the code is = a...

  • RE: Wierd Counter!

    Nikhil Shikarkhane (10/23/2008)


    Hint: You will have to use ROW_NUMBER OVER ( PARTITION BY ) 🙂

    I'd really like to see that for this one. Got code? 😉

  • RE: Shrinkfile and log backup

    ... sorry.... and to answer the other question, I never do a shrink on the database unless some runaway code happened to occur. Database growth should be planned and...

  • RE: Shrinkfile and log backup

    victor_bosc (10/23/2008)


    As your previous posts you do not recommend recommend rebuilding indexes and shrinking. I agree with that periodically shrinking is not a good idea, but should I NEVER do...

  • RE: OSQL

    Technically, yes. But it's against the license agreement.

  • RE: importing txt files to sql tables

    Yeah... but do you need to use DTS or SSIS or is doing it all in T-SQL without the use of xp_CmdShell ok?

  • RE: Calculating Work Days

    Heh... dang managers all need to take a course in how to effectively plan and schedule a software project for success. 😉

    Anyway, glad it does what you want and...

  • RE: Calculating Work Days

    Heh... cool! But, you don't really hate RBAR... or you wouldn't be using it. 😉

Viewing 15 posts - 47,611 through 47,625 (of 59,064 total)