Results 1 to 2 of 2

Thread: How can I read one external file (*.txt,*.csv) through

  1. #1
    Patricio V Layseca Guest

    How can I read one external file (*.txt,*.csv) through

    How can I read one external file (*.txt,*.csv) through
    stored procedure in MS Sql Server 2000 ?

    On the database Interbase its very simple :

    [CREATE TABLE table [EXTERNAL [FILE] ’ <filespec>’]
    ( <col_def> [, <col_def> | <tconstraint> …]);
    EXTERNAL [FILE]“<filespec>
    ” Declares that data for the table under creation resides
    in a table or file outside the database;
    <filespec> is the complete file specification of the
    external file or table]


    Please advice

    Thanks


    Patricio

  2. #2
    Jackthekat Guest

    How can I read one external file (*.txt,*.csv) through (reply)

    Add the the files as a linked server using SP_addlinkedserver and query the files. Books online has more than I can type.


    ------------
    Patricio V Layseca at 12/14/2001 12:57:38 PM

    How can I read one external file (*.txt,*.csv) through
    stored procedure in MS Sql Server 2000 ?

    On the database Interbase its very simple :

    [CREATE TABLE table [EXTERNAL [FILE] ’ <filespec>’]
    ( <col_def> [, <col_def> | <tconstraint> …]);
    EXTERNAL [FILE]“<filespec>
    ” Declares that data for the table under creation resides
    in a table or file outside the database;
    <filespec> is the complete file specification of the
    external file or table]


    Please advice

    Thanks


    Patricio

Posting Permissions

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