Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. emccormick

    bulk insert csv problems. 1) dd-mm-yyyy dates, 2) column shift in csv

    Have a pipe-delimited csv with 340k+ rows I'm importing into a staging table. It has 5 date fields, all in euro format dd-mm-yyyy, which I've defined as varchar in a staging table. I've written some t-sql which selects the data into a production table and converts the varchar dates into...
  2. emccormick

    Autosuggest problem: 2nd select fires before submit button is pressed

    I have a cfinput autosuggest in a cfform which is used to populate a div and a grid in an adjacent tablayout. When the user first enters a min of two characters in the autosuggest, the autosuggest populates the drop down correctly from a query. The user makes a selection and hits the submit...
  3. emccormick

    Cursor fetch stuck on 1st row.

    Thanks all for the wisdom of your experience. Would it help if I said the sheer volume of variables (and this is only a third of the columns involved!) is why I missed the in-loop fetch??? [wink] ESquared: I'd never opened the template explorer before. Thanks! SQLSister: I think I can see...
  4. emccormick

    Cursor fetch stuck on 1st row.

    SQL2005, W2K3-SP2 I can't see why the cursor in this stored procedure won't move past the 1st row. The select statement hits a table with ~5k unique AuthorizationNumber(s). The while loop works because the @Count increments, but the other vars just sit on the first row. ------ ALTER...
  5. emccormick

    Toss out all rows for an ID on specified value

    in any case, what i didn't show in my example was that i had some grouping in the sql query, and that was causing the problem. also, my company's websense filtering doesn't seem to permit webform submissions to tech-help sites, hence the total lack of response from me.
  6. emccormick

    Toss out all rows for an ID on specified value

    thx all. for some reason, i couldn't post replies from work yesterday. i ended up solving it (more or less) with a CTE (I'm in SQL 2005): --the CTE definistion with finished as ( select Item from myTable where Status = 'FINISHED' ) --the accessor query select Item from myTable where Item...
  7. emccormick

    Toss out all rows for an ID on specified value

    Hi I have a table structured like this: Item Status ----------------- SN1 READY SN1 INPROCESS SN1 FINISHED SN2 READY SN3 INPROCESS SN4 INPROCESS SN4 FINISHED I need to be able to isolate the Items which haven't been FINISHED. In other...

Part and Inventory Search

Back
Top