Joe,

SELECT  syscolumns.name
FROM            syscolumns INNER JOIN sysobjects ON sysobjects.id =
syscolumns.id
WHERE           sysobjects.name = "Your_Table_Name"

HTH,

Sean.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 07, 2000 5:05 PM
To: [EMAIL PROTECTED]
Subject: getting fields of a table(sql)



Hello All,
          Is there a way/sql statement that would get me all
the fields in the table? and store it in a variable ?
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to