|
Dernière réponse | |
---|---|
Sujet : [ASP][SQL] une requête pour connaitre la structure d'une table ??? | |
alknon | Set connection = server.createobject("ADODB.connection" )
connection.open "Server=xxx;Provider=SQLOLEDB;Database=xxx;UID=xxx;PWD=xxx" Set recordSet = connection.Execute ("SELECT * FROM employes" ) For i = 0 To recordSet.Fields.Count-1 Response.Write (recordSet.Fields(i).xxx "<br>" ) Next avec xxx = ActualSize, Attibutes, DataFormat, DefinedSize, Name, NumericScale, OriginalValue, Precision, Properties, Status, Type, UnderlyingValue, Value |
Vue Rapide de la discussion |
---|