Re: Query
SELECT BOM.*, isnull(BOM.CreatedByUser,'') + ',' + Case When USERS.FirstName is null then '' else USERS.FirstName+',' End+ ' ' +isnull( USERS.LastName,'') AS username FROM BomHeader BOMleft outer...
View ArticleRe: Query
hello,if only user name is availble i need to remove the comma ( , ) how to do that ....
View ArticleRe: Query
If I understand you correctly...you should be using a FULL JOIN as opposed to the LEFT JOIN
View ArticleRe: Query
SELECT BOM.*, isnull(BOM.CreatedByUser,'') + ',' + isnull(USERS.FirstName,'') + ' ' +isnull( USERS.LastName,'') AS username FROM BomHeader BOMleft outer join [user] USERS on...
View ArticleQuery
Hello All,SELECT BOM.*, BOM.CreatedByUser + ',' + USERS.FirstName + ' ' + USERS.LastName AS username FROM BomHeader BOMleft outer join [user] USERS on USERS.UserId=BOM.CreatedByUserWHERE...
View Article
More Pages to Explore .....