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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read Text File Into SQL Server 7 Table

Status
Not open for further replies.

RyanAG

Programmer
May 17, 2002
2
US
Working with our ISP host we have a user account set-up(no admin rights) on sql server 7. Every night we have to do a data push to the database of between 50000 to 500 records in five separate tables. Trying to find a stored procedure that will read a text file into a table. Not allowed to use "Bulk Insert" because don't have SYSADMIN rights and believe that is true for DTS also. Is this possible?

Ryan
 
You might be able to run bcp from the command prompt.
 
Bulk Insert, DTS and BCP don't require sys admin permissions. The database option "select into/bulkcopy" must be set ON to allow these operations. And the login used must have insert permission on the tables. Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top