Forum Replies Created

Viewing 15 posts - 52,576 through 52,590 (of 59,064 total)

  • RE: Avoid duplicate orders returned

    You had all of that in your first post... obviously, you want some specific format and I'm tired of guessing...

    Would you please type up what you want the output to...

  • RE: Avoid duplicate orders returned

    So, what is it that you want to do? You've identified everything but that...

  • RE: sp_executesql hangs for a particular stored procedure

    Instead of doing the FREEPROCCACHE thingy, which affects the whole server, just do a forced recompile in the proc. The other thing this sounds like is "Parameter Sniffing". ...

  • RE: QUERY TUNNING.......

    You bet... let us know how it works out... tuning queries of this nature may take one of the items I listed... or all 6. Maybe even something else......

  • RE: Avoid duplicate orders returned

    Which row do you want to keep for each customer by campaignID?

    Yes i want to keep campaign_id.

    Well.... that's why you're getting the dupes in the results... You have dupes...

  • RE: Shrink Database

    ...AND...

    Until you figure out what made it grow that big to begin with, it's not gonna do you any good to shrink it because the same something is gonna make...

  • RE: How can I execute an external .sql file from a stored procedure?

    If the file width is less than or equal to 255 characters, this is a very easy way to do what you ask...

    [font="Courier New"]CREATE TABLE #MyFile (LineNum INT IDENTITY(1,1), MyText...

  • RE: Read txt file / ping

    I'm thinking a simple looping DOS batch file would work just fine... either that or maybe a simple VB script.

  • RE: Getting Transaction ID

    WHAT do you mean by "Transaction ID"? Do you mean the level of nesting within the transaction or do you mean the IDENTITY number of a row you just...

  • RE: Duplicate Detection

    Post the table schema and the columns you would consider in deciding if a row where a duplicate or not... there's hardly any reason to go to text files and...

  • RE: Extract Issue (".0" added to values)

    Because of implicit conversions.

    A better question would be...

    ... why are you copying INT data into an NVARCHAR column to begin with?

  • RE: Avoid duplicate orders returned

    itortu (2/11/2008)


    i do have hu_id on the result dataset i pasted above.

    Yes, you do... but not in the code you posted... we can't tell which table hu_id is in.

    Also,...

  • RE: QUERY TUNNING.......

    For starters, this....

    WHERE CONVERT(VARCHAR, tblRFXProjecto.tmsCreated, 103) = CONVERT(VARCHAR, getdate()-1, 103)

    ... will not allow indexes to be used effectively because of the forced scan created by wrapping the column reference in...

  • RE: How to get SQLCLR started in SQL Server 2005 Express via Visual Basic 2005 Express?

    I guess my question would be....

    ... what in blazes do you think you need to do in a database that can't be done in T-SQL?

    The only possible exception to that...

  • RE: select db information with growing size

    Only way I can see that happening is if dbatools_filesize has two rows for each day for each database in it. Recommend you do a dupecheck to see...

Viewing 15 posts - 52,576 through 52,590 (of 59,064 total)