Forum Replies Created

Viewing 15 posts - 8,131 through 8,145 (of 14,953 total)

  • RE: Double Recursion?

    You're welcome.

  • RE: datetime stored as integer, please help!

    Whatever they told you to use. The confusion on that came from the first post, where it has a -5 in one place and -4 in another.

  • RE: datetime stored as integer, please help!

    It probably actually needs to be:

    where (finalcalledpartynumber = ('386') OR callingPartyNumber = ('386'))

    AND dateTimeOrigination >= @StartInt

    AND dateTimeOrigination<= @EndInt

    Without the parentheses around the party numbers, it won't use...

  • RE: datetime stored as integer, please help!

    One reason I worked it the other direction is that it gets rid of the functions in the Where clause. That's usually a good idea for performance. Probably...

  • RE: SQL script: to all script writers out there

    Depending on the data present in the tables, the only significant differences between the two are the IsNull operators in the second one. If there aren't any nulls in...

  • RE: datetime stored as integer, please help!

    Try this:

    declare @StartInt int,

    @EndInt int;

    select @StartInt = datediff(second, dateadd(hour, -4, '1/1/1970'), @StartDateTime),

    @EndInt = datediff(second, dateadd(hour, -4, '1/1/1970'), @EndDateTime);

    Where MyField >= @StartInt and MyField <= @EndInt;

  • RE: binary check sum on nvarchar(max)

    Running a binary checksum on large volumes of data is going to be slow. More powerful hardware is the only thing I can think of that would realistically speed...

  • RE: Overwriting function sped it up... why?

    The execution plan will rebuild for a number of reasons, and one of them can certainly be when the indexes are rebuilt, since that updates table stats.

    The plans aren't built...

  • RE: t-sql question

    This looks like something that can be solved with Sum() and Group By. Are you not familiar with those, or am I missing something?

  • RE: Delete Duplicates

    One point that may or may not matter is that the deduping script used here ignores the AccName column. That handles the one with extra spaces, but you'll need...

  • RE: import Csv files

    That looks correct. Have you verified that the file is correctly formatted?

  • RE: OpenRowSet

    Permissions for the SQL account is usually the problem with these.

    I've also had problems when someone else (or me) had the file open already.

  • RE: Are the posted questions getting worse?

    s ss (10/14/2009)


    GilaMonster (10/14/2009)


    s ss (10/14/2009)


    I was just wondering (in case I may have some questions in the future) what's so different about this post: Delete Duplicates then this...

  • RE: Great DBA’s in History

    Grant Fritchey (10/14/2009)


    Excellent. Now tell me what color your parachute is and you're hired.

    In my case, it's probably gotta have that "mood ring" thing where it changes color depending on...

  • RE: Great DBA’s in History

    The primary requisites, in my opinion, of a good DBA, are reasonable intelligence, a reasonable level of dedication, a high level of integrity, and an amazing tollerance for boredom. ...

Viewing 15 posts - 8,131 through 8,145 (of 14,953 total)