To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
SQL CourseSQL Course
> Ask questions about the lessons on SQL Course 1 and 2. If you have problems
> with the interface, please post in the Feedback forum
I have just learned SQL and have started using it. My question, is there a way to create a table using SQL from a flat file, such as a text file? I would think you could use insert but I can't find anything to back up this idea.
If your flat file is properly formatted (comma/tab delimited or fixed length column, etc) you can use bcp or BULK INSERT if you are using SQL Server. For Oracle you can use SQL Loader.
thanks for the info, i just got my Oracle disks, so i'll have to check that out. Is there anything special for Sybase? We, a friend and I are trying to figure out a way to create the tables from the flat file for Sybase. Currently it gets done in Access and connect to Sybase, and this takes awhile.