Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Problems in Creating View

Author  Topic 

Aigini
Starting Member

2 Posts

Posted - 2008-06-05 : 22:21:07
I want to create a view under localhost in Using SQL Server 2000.
This is the code I have created for the view.

CREATE VIEW dbo.vItemPurchase 
AS
SELECT iim_itemcode, iim_desc, iim_itemcat, iim_subcat, iim_company, iim_loc
FROM dbo.inv_itemmaster
WHERE (iim_level= 'Purchase')


But when I try to save it, I get an error message that says :
quote:
The Query Designer does not support the CREATE VIEW SQL construct.


Why is this and how do I correct it?

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-06-05 : 22:58:50
Run it in query analyzer.
Go to Top of Page
   

- Advertisement -