Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Long command in C#
Message
De
23/05/2008 16:22:39
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01319251
Message ID:
01319281
Vues:
12
In addition to those suggestions you can always do this:
string sQuery = "SELECT ordinal_position, column_name, data_type, is_nullable ";
sQuery += "FROM informatin_schema.Columns "
sQuery += "WHERE table_name LIKE '%avClients%' ";
sQuery += "ORDER BY ordinal_position";
No reason to, but it is an option and sometimes useful.
Tim

>How do I code this query?
>
>
>
> string sQuery = "SELECT ordinal_position, column_name,data_type, is_nullable
>                FROM information_schema.Columns WHERE table_name LIKE '%avClients%'
>	            ORDER BY ordinal_position"
>
>
>
>I'm not sure how to continue or break each line.
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform