Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can Query Analyzer pretty up a SQL statement?
Message
 
À
09/03/2006 10:47:14
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01102646
Message ID:
01102866
Vues:
17
>>In SQL 20005 Mangement Studio, I can right click on a database and create a new query. ...
>>
>>Is there a way to automatically format a SQL statement into a multiple lines. With the Selec one 1 line, then where on the next etc...
>
>Hi Evan,
>
>No, it's not available. I think it's on the list of developer-requested improvements though.

Thanks for letting me know.

>Try writing your query inside a Text...EndText block and you can easily paste back and forth between Fox and SSMS.

I can't tell from the VFP help, but if I use TEXT/ENDTEXT how do I insert string variables inline? Right now, my SQL statements will look like this in VFP.

lcSQL = "SELECT * FROM customers WHERE id = " + str(lncustid) + " ORDER BY name "
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform