Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
Hi, I have to create a view where the users last name ends with a 's' and I am just wondering if this is correct as I cannot test it from where I am now. Thanks.CREATE VIEW Users_View1 ASSELECT UserNo, UserFirstName, UserLastName, UserPhone, UserEmail, UserOrgNoFROM UsersWHERE RIGHT(RTRIM(UserLastName,1) = 's')