User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 363,560 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,907 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 5423 | Replies: 1
Reply
Join Date: Jul 2005
Posts: 1
Reputation: lskoyles is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lskoyles lskoyles is offline Offline
Newbie Poster

Simple sql questions (broken commands and retrieving columns)

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Location: Dallas, TX
Posts: 481
Reputation: campkev is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 19
campkev campkev is offline Offline
Posting Pro in Training

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

  #2  
Dec 15th, 2005
for the first sp_tables. For the second, I have no idea
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Database Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Database Design Forum

All times are GMT -4. The time now is 5:27 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC