Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Statements
Message
 
À
12/02/2004 19:02:06
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00876867
Message ID:
00876941
Vues:
4
You can use the square brackets to surround your object names that have space in it:

select * from [project status] ...


>I bet the problem is that your view name has a space in it. I'm sure there must be a way to SELECT from that, but I don't know the syntax. Can you change the view to have the name ProjectStatus, or Project_Status, instead? Then, it should simply be a SELECT FROM ProjectStatus, or something along those lines.
>
>~~Bonnie
>
>
>>All,
>>
>> I am trying to create a create a stored procedure that selects data from a view. The name of my view is "project status". I have tables in the database named project and status which is what the stored procedure is returning. How do I get the stored procedure to pull data from the view("project Status")?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform