Results 1 to 4 of 4

Thread: How to insert files into SQL server from Excel using VB?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Location
    INDIA
    Posts
    5

    Post

    Hi,
    I am new to Vb. Can anyone help me in inserting data from a Excel sheet into a SQL-
    Server 70 database using VB.

    Thanx in adv,
    Ramesh

  2. #2
    Guest

    Post

    ODBC has an EXCEL driver and a SQL7 Driver. you can transfer the data using ado objects. Or also you can set up a dts package in SQL7 to import the data autmatically as a scheduled package.

  3. #3
    Lively Member
    Join Date
    Jan 2000
    Posts
    65

    Post

    the easiest way, is to import the
    data from comman delimited file into
    SqlSever tables using BCP utility
    .. I used this in
    SQLSERVER 6.0 .. i dont know what this BCP
    utility is called in version 7.0

    The data in Excel can be saved as a
    comma Delimited file..

    sarath

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    In SQL 7, you can use the DTS wizard

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