Forum Replies Created

Viewing 15 posts - 52,591 through 52,605 (of 59,064 total)

  • RE: Bulk insert t-sql command

    Jesse McLain (2/11/2008)


    I get a similar problem, but in the exact opposite way. When I run:

    BULK INSERT Import

    FROM 'C:\Import.txt'

    WITH (FIELDTERMINATOR = '","', ROWTERMINATOR = '"', FIRSTROW=3522350, LASTROW=3522360, MAXERRORS =...

  • RE: Bulk insert t-sql command

    Luk (1/28/2008)


    no it doesn't. it gets created and then deleted when the transaction is rolled back.

    Heh... listen to what you just said... "it gets created... and then deleted WHEN...

  • RE: Help with formating

    What are the datatypes and, if appropriate, sizes for the 5 different columns you're pulling from, Greg?

  • RE: How do I turn this Select statement into a Delete Statement?

    That's normally the way I do it, too.

  • RE: Compare two Identical tables

    Absolutely perfect, Chris... I've always wondered why people try to do it the hard way.

    Another way to do this is to simply have 2 tables and a view. While...

  • RE: How to pull the bigger of 2 numbers in the same field?

    Craig,

    This would be a lot easier to test code for if you provided some data and table schema info. See the following for how to do that effectively...

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

  • RE: Avoid duplicate orders returned

    First, since you don't have HU_ID in any part of your query, you need to tell us which table it's in.

    Second, I think you also have dupes in the bcustomer_notification_call_list...

  • RE: Extended Procedure

    When you created the new xp's, did you make sure that you created them in the Master database?

  • RE: The Identity Debate

    Same subject... slightly different slant...

    I, for one, would like to congratulate this fine community of professionals such as those witnessed in this thread. The subjects of auto-incrementing columns and...

  • RE: trigger problem

    Heh... I love instant confirmation! Thanks, Chris!

  • RE: TSQL: Computing Balance

    antonio.collins (2/11/2008)


    i'm confused. assuming there's some column that can order the payments sequentially/chronologically, can't this be solved with a simple self join?

    Yep... and that "simple self join" is classified...

  • RE: Datediff usage

    Don Bernstein (2/11/2008)


    unless you think that SqlServer may some day refuse to convert the Datediff result to a datetime field

    That's kind of what I'm thinking... doesn't take much extra time...

  • RE: Extended Procedure

    Could it be that simple? Your original post said you added an extended sp called "xp_add" yet in your latest post you say you are using "xp_add1". Do...

  • RE: Generating Missing Dates and Numbers

    John Beggs (2/11/2008)


    I don't know why I didn't think of this last week, but the problem (in my case) was in the database compatability level. I was working in...

  • RE: trigger problem

    Print commands, like rowcounts, can sometimes be made to bubble up through the app.

    However, I agree... I prefer to use Raiserror properly rather than the likes of PRINT......

Viewing 15 posts - 52,591 through 52,605 (of 59,064 total)