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)
 A problem with views

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-06-29 : 07:22:35
Doctor Brown (alias) writes "hi, I am creating a view that consists of one table, but I need to do something like this:

create view something
as
select * from banks
where name = "Variable"
and id = "variable"
or something = "variable2"
etc.

how do I create a view with variables in it???

Thank you so much!"
   

- Advertisement -