Forum Replies Created

Viewing 15 posts - 46 through 60 (of 321 total)

  • RE: Multi-column primary keys

    Now it makes sense Grant, thank you very much!

    A good example of how one (ok, me) can be led astray -- because I first noticed the problem with a GROUP...

  • RE: Multi-column primary keys

    I appreciate your concern Michael.

    I used .doc so I could include screen captures, showing the queries, parts of the Object Explorer (to show keys and indexes), and the output of...

  • RE: Multi-column primary keys

    Thank you Grant!

    Since I can't attach .sql or .sqlplan files here, I have attached a .doc file which attempts to capture my situation. And in the process of doing...

  • RE: ANSI_PADDING

    Thanks Matt, I guess that does make sense.

  • RE: SSMS Print query results slow down

    No, right clicking in the results pane(s) and selecting print setup or print.

    Printing from other applications and from the file menu (for the query) is OK. Just the result...

  • RE: Excel file - MS ACCESS

    Seems a bit extra work, considering that you can link to an Excel file as an external data source in Access. Have you rejected that approach?

  • RE: Bulk Insert Grief

    I just converted my 558 column format file to ANSI, and imported it to a 558 column temp table

    and it WORKED!

    Can't thank you guys enough!!

  • RE: Bulk Insert Grief

    Gee, just discovered that Notepad can save as ANSI, which did the trick for me.

    (Guess I never was good with these high-end complex applications, like Notepad!)

  • RE: Bulk Insert Grief

    AT LAST, A RAY OF HOPE -- WONDERFUL!!

    I created the format file with Notepad (I thought, maybe I pasted something in from a web page).

    So I need to strip out...

  • RE: Bulk Insert Grief

    Boy if you can see something in this Jeff (or Todd) I will be happy to accept the title of Dummy.

    I've attached a test data file (Dummy.txt), a format...

  • RE: Bulk Insert Grief

    I am making no progress...

    I inspected the source file carefully, and found it to have a CR/NL every 2016 characters.

    Trying to step back, I created a dummy input file...

  • RE: Bulk Insert Grief

    The file does contain personnel information, so I can't simply send a few lines. If necessary, and if my current path of attack does not pan out, I'll scramble it...

  • RE: Bulk Insert Grief

    Wonderful!

    I first just used \r as it appeared in your posting, and got at least the first row loaded, with messages that the second and third rows failed. But...

  • RE: Bulk Insert Grief

    ToddE (11/19/2008)


    Jim,

    with ( ROWTERMINATOR = '\r'

    3 SQLCHAR 0 7 ...

  • RE: Bulk Insert Grief

    Jeff Moden (11/18/2008)


    You don't need a format file for this nor even BCP. Just do a BULK INSET and specify the FIELDTERMINATOR = ''.

    Bringing in the entire file as...

Viewing 15 posts - 46 through 60 (of 321 total)