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.
| Author |
Topic |
|
doyler
Starting Member
2 Posts |
Posted - 2009-03-16 : 16:53:49
|
| HI!I need to create an updateable view of users, who's name begins with 'B'. So far I have come up with...CREATE VIEW Users_View1 AS SELECT UserNo, UserFirstName, UserLastName, UserPhone, UserEmail FROM Users WHERE 'UserLastName' like '%B' or '%b';I am unable to run it at the present time...am I on the right track?! |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-03-16 : 16:57:38
|
If you want the names to begin with b, you need to writeWHERE UserLastName like 'B%' or UserLastName LIKE 'b%' E 12°55'05.63"N 56°04'39.26" |
 |
|
|
doyler
Starting Member
2 Posts |
Posted - 2009-03-16 : 17:07:23
|
| thanks! :D |
 |
|
|
|
|
|