Hi guys,
I am trying to develop an interface for the database so that a user with minimum knowledge would be able to write SQL queries from my ASP pages. I just want to do this for UPDATE, DELETE, INSERT, SELECT.
So I thought it would be very nice if I could first ask user to delect a table, then specific fields from a drop-down list. Do you know if it is possible - can I access table names and fiels names in MS SQL? I've gotten into syscolumns table and I saw my columns there, but how do I know whidh column belongs to which table. Also, I cannot find a system table with the table names.
Hope you can help me.
Thanks in advance. Dmitriy
dbrom@crosswinds.net
I am trying to develop an interface for the database so that a user with minimum knowledge would be able to write SQL queries from my ASP pages. I just want to do this for UPDATE, DELETE, INSERT, SELECT.
So I thought it would be very nice if I could first ask user to delect a table, then specific fields from a drop-down list. Do you know if it is possible - can I access table names and fiels names in MS SQL? I've gotten into syscolumns table and I saw my columns there, but how do I know whidh column belongs to which table. Also, I cannot find a system table with the table names.
Hope you can help me.
Thanks in advance. Dmitriy
dbrom@crosswinds.net