+ Reply to Thread
Results 1 to 5 of 5

Export data to table in the Schema of Sql server using VBA

  1. #1
    Registered User
    Join Date
    09-09-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    65

    Export data to table in the Schema of Sql server using VBA

    I want to create table and insert excel data inside the defined schema in sql server. Currently , i am using following code, which create table in dbo schema in sql server but i want that code should create table in schema name 'RTI'.

    Please Login or Register  to view this content.
    Need code for creating table inside the defined schema.

    Thanks & Regards
    Ramandeep Singh

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Export data to table in the Schema of Sql server using VBA

    Hi,

    Have you tried adding the schema name before the table name
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    09-09-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    65

    Re: Export data to table in the Schema of Sql server using VBA

    Hi xlnitwit,

    I already this. but it will not work.

    Thanks & Regards
    Ramandeep Singh

  4. #4
    Registered User
    Join Date
    09-09-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    65

    Re: Export data to table in the Schema of Sql server using VBA

    Anyone knows the answer...

  5. #5
    Registered User
    Join Date
    09-09-2015
    Location
    India
    MS-Off Ver
    2010
    Posts
    65

    Re: Export data to table in the Schema of Sql server using VBA

    Any expert who can help me

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Export Excel data into Access table - overwrite table data
    By Jonsocks in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-08-2012, 12:05 PM
  2. how to lookup data on a SQL Server table?
    By bilter in forum Excel General
    Replies: 2
    Last Post: 01-19-2012, 03:32 PM
  3. Export Excel Table to SQL Server through ODBC Connection in Visual Basic
    By medberg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2011, 10:44 AM
  4. How to export data in to excel from sql server
    By Mukesh Sajjan in forum Excel General
    Replies: 0
    Last Post: 03-22-2011, 09:44 PM
  5. [SOLVED] Extract data from SQL Server table into excel
    By abhay_547 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2010, 07:02 AM
  6. Export Data From Excel To SQL Server
    By jitendrasingh29 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-18-2009, 04:43 AM
  7. Export from Access/SQL Server
    By JIM in forum Excel General
    Replies: 0
    Last Post: 08-20-2006, 03:15 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1