Say I have a table called myTable. What is the SQL command to return all of the field names of this table? If the answer is database specific then I need SQL Server right
You can use the provided system views to do this:
eg
select * from INFORMATION_SCHEMA.COLUMNS where table_name = '[table name]'
alternatively, you can use the system proc sp_help
sp_help '[table name]'