Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Statements
Message
 
To
12/02/2004 19:02:06
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00876867
Message ID:
00876941
Views:
5
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform