Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored procedure
Message
De
22/09/2005 11:02:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/09/2005 10:45:03
Atif Saeed Khan
Nextbridge Prvt Ltd.
Lahore, Pakistan
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01051966
Message ID:
01051990
Vues:
15
>that is what i asked u. :)
>
>i have written the sp like this
>
>CREA PROCEDURE XXX
> @TABLE_NAME VARCHAR(50)
>AS
>SELECT * FROM @TABLE_NAME
>
>EXEC XXX 'INV_MAST'
>
>where INV_MAST is the table name.
>
>whenever i try to execute this procedure it gives me error message.

I tried to prevent you from shooting yourself in the foot:) Check sp_executesql.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform