Simple sql questions (broken commands and retrieving columns)

Reply

Join Date: Jul 2005
Posts: 1
Reputation: lskoyles is an unknown quantity at this point 
Solved Threads: 0
lskoyles lskoyles is offline Offline
Newbie Poster

Simple sql questions (broken commands and retrieving columns)

 
0
  #1
Jul 25th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 483
Reputation: campkev is an unknown quantity at this point 
Solved Threads: 19
campkev campkev is offline Offline
Posting Pro in Training

Re: Simple sql questions (broken commands and retrieving columns)

 
0
  #2
Dec 15th, 2005
for the first sp_tables. For the second, I have no idea
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC