Please help me with this simple issue. I simply want to list the structure of a table w/ the DESCRIBE command, but I'm not sure how to print this using Response.Write or similar. Here's my VB:
<%
on error resume next
dim Conn, RS
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "Driver={SQL Server}; Server=w; database=x; uid=y; pwd=z; option=0;"
Set RS = Conn.Execute("DESCRIBE product")
Response.Write ...
RS.Close
Conn.Close
Set RS = Nothing
Set Conn = Nothing
%>
What do I use in place of ..., above?
I'm completely new to MS products, including SQL Server 2k, VB, etc -- Background in MySQL, PHP, mysql command prompt & phpMyAdmin.. I'm looking forward to expanding my MS knowledge--more buzzwords in resume
<%
on error resume next
dim Conn, RS
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "Driver={SQL Server}; Server=w; database=x; uid=y; pwd=z; option=0;"
Set RS = Conn.Execute("DESCRIBE product")
Response.Write ...
RS.Close
Conn.Close
Set RS = Nothing
Set Conn = Nothing
%>
What do I use in place of ..., above?
I'm completely new to MS products, including SQL Server 2k, VB, etc -- Background in MySQL, PHP, mysql command prompt & phpMyAdmin.. I'm looking forward to expanding my MS knowledge--more buzzwords in resume