DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Help plz in sql loader!!!!

  1. #11
    Join Date
    Nov 2009
    Location
    India
    Posts
    9
    ya thanks i hav already tried in the way u said it works.but i wan to know the reason y its not working wit var

    thanks
    bhu

  2. #12
    Join Date
    Nov 2009
    Location
    India
    Posts
    9
    wht should i do if i am using var?????

  3. #13
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Thumbs down Why use var?

    Why use "var" when you don't need it?
    If you do have to use it, then your data lengths are incorrect.
    Here is the correct data file to use with your controlfile:
    Code:
    011hello,cd,
    011world,im,
    013my,name is,
    And the controlfile would be:
    Code:
    load data
    infile 'c:\ex.dat' "var 3"
    truncate into table exam
    fields terminated by ',' optionally enclosed by '"'
    (col1 char,col2 char)
    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

  4. #14
    Join Date
    Nov 2009
    Location
    India
    Posts
    9
    thank you so much but its working only with this data file. can you please tell me how the data should be.

    thanks
    bhu
    Last edited by bhu; 11-13-2009 at 02:17 AM.

  5. #15
    Join Date
    Nov 2009
    Location
    India
    Posts
    9
    thank you so much i got my query cleared... am getting proper output with out error now...


    thanks
    bhu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width