Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameterized in SQL Anywhere
Message
De
09/09/2010 13:40:58
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Parameterized in SQL Anywhere
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01480692
Message ID:
01480692
Vues:
121
If I have the following in SQL Server:
DECLARE @Numero Integer

SET @Numero=11

SELECT Client.FirstName FROM Client WHERE Client.Numero=@Numero
I would be able to get a query based on a parameterized approach. Doing the same in SQL Anywhere makes it think that it would try to find a field name @Numero and would generate an error. Anyone would know the syntax to use?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform