Forum Replies Created

Viewing 15 posts - 53,026 through 53,040 (of 59,068 total)

  • RE: time

    This will do it...

    declare @temp table (t int)

    insert into @temp

    select 234000 --.65

    union all

    select 2052000 -- 5.7

    union all

    select 1638000 -- 4.55

    union all

    select 1620000 -- 4.5

    select *, t/36000.0 ,t/36000

    from @temp

    WHERE t/36000<>t/36000.0

  • RE: time

    Adrienne (1/8/2008)


    Is this what you are looking for?

    declare @temp as table (t int)

    insert into @temp

    select 234000 --.65

    union all

    select 2052000 -- 5.7

    union all

    select 1638000 -- 4.55

    union all

    select 1620000 --...

  • RE: Read file system directory & files with T-SQL

    July (1/8/2008)


    I have to reach another server to copy a lot of file (100 files for 1 GB). I try with

    EXEC xp_dirtree "\\machine\shrarename" but I obtain "system cannot...

  • RE: help filtering in a where

    SELECT Part, MAX(Date) AS Date

    FROM yourtable

    GROUP BY Part

  • RE: Loop Through Table List And Import

    ...and it would be a lot faster if you used BULK INSERT or BCP...

  • RE: Tempdb - Create tables

    That's not such a bad idea (ad hoc usage to solve a very specific problem)... what is a bad idea is using non-temptable names for everything that you would normally...

  • RE: Convert Function?

    Heh... small world we live in, huh?

  • RE: Performance Tuning: Concatenation Functions and Some Tuning Myths

    Thanks for the great feedback, Ian... especially about keeping it casual (ie. fun) and the remarks about documentation... We've actually put sime "documentation standards" into play at work. They're...

  • RE: Tempdb - Create tables

    Heh... I was thinking the same thing... beating are fun especially when delivered by code...

    Since it's 2k5, I wonder if you could add a schema trigger to TempDB to sweep...

  • RE: Which Cumulative Update to apply on prod systems

    Speaking of testing... if you value your production system, now would be a good time to setup a testing twin so you can do full regression testing of the SP...

  • RE: How to expand this variable for the query to work

    Just my experience... I keep a Tally table of 11k rows... sure, it covers the usual split of a VARCHAR(8000) but I use it for much more... if you consider...

  • RE: Which Cumulative Update to apply on prod systems

    Have you taken the time to verify that you actually have the problem?

  • RE: Indexing Newbie

    Dunno about that... but I do know that throwing indexes at tables will absolutely not help code that is written incorrectly because the code will not be able to use...

  • RE: Slow Query and High IO

    Perfect... thanks for the feedback.

    Yeah, anytime you have a join on different datatypes, it must do an implicit conversion to do the join... best you can get out...

  • RE: How to expand this variable for the query to work

    You see the need to split a parameter with more than a million characters?

Viewing 15 posts - 53,026 through 53,040 (of 59,068 total)