DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Database Design (http://www.daniweb.com/forums/forum142.html)
-   -   Simple sql questions (broken commands and retrieving columns) (http://www.daniweb.com/forums/thread28940.html)

lskoyles Jul 25th, 2005 12:17 pm
Simple sql questions (broken commands and retrieving columns)
 
I am new to SQL and am having a few simple problems that i cannot find solutions to on the web. Firstly I was wondering if there is any simple SQL command that will find the column names of a table. All sql tutorials seem to already know this. It is quite simple to do this using another database for the column names but this seems to be a clumsy solution.

Also I am using perl cgi scripts with the DBI module and the CSV type of database. Most SQL commands work with my code perfectly however a few random keywords and commands do not (such as auto_increment and ALTER TABLE) Is this a result of using CSV databases because of their extreme simplicity or is there something more sinister at work?

thanks so much

Liam Skoyles

campkev Dec 15th, 2005 11:20 am
Re: Simple sql questions (broken commands and retrieving columns)
 
for the first sp_tables. For the second, I have no idea


All times are GMT -4. The time now is 9:42 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC