CONCAT Help
Hi StewartDFW,You may take a good look at Transact-SQL Syntax Conventions. Square brackets in CONCAT ( string_value1, string_value2 [, string_valueN ] ) means optional syntax items. It's no need to...
View ArticleCONCAT Help
Thanks Jingyang For the correction.Failure in Life is failure to try... PGDCA-98(South Gujarat University),MCSA (SQL 2012) , MCTS (SQL Server 2005) My Blog
View ArticleCONCAT Help
Hi Steve,In Order by Clause put tablename/aliasname .columnname to remove below two errors.Msg 209, Level 16, State 1, Line 56 Ambiguous column name 'claimid'. Msg 209, Level 16, State 1, Line 56...
View ArticleCONCAT Help
Try to use only these two columns (or without the concat for your query):select CONCAT( Vedit.ruleid,' --something here if you want: --', qr.description ) as combinedCol from claimdetail cd --....
View ArticleCONCAT Help
You need:1. Give all columns in your query an alias (e.g. precede with that table's alias)2. Change your last expression to beCONCAT( Vedit.ruleid, qr.description , aliasHere.Edit_Code ) as...
View ArticleCONCAT Help
You don't need to change int data type with concat ( The function will convert it implicitly):Declare @RuleId Int = 1 , @Description Varchar(10) = 'Description ' ,@EditCode Varchar(10) = 'Edit' SELECT...
View ArticleCONCAT Help
What is your question? The code does not work?:, CONCAT( Vedit.ruleid, ':', qr.description ) as combinedColumnCorrect this is not working. It was showing the error listed below:Msg 102, Level 15,...
View ArticleCONCAT Help
The multi-part identifier "con.description" could not be bound. Msg 4104, Level 16, State 1, Line 5 The multi-part identifier "ci.contracted" could not be bound. Msg 4104, Level 16, State 1, Line 5 The...
View ArticleCONCAT Help
Hi Stewart,You need to covert ruleid from integer to string. See my SQL code Below:Declare @RuleId Int = 1 , @Description Varchar(10) = 'Description ' ,@EditCode Varchar(10) = 'Edit' SELECT...
View ArticleCONCAT Help
What is your question? The code does not work?:, CONCAT( Vedit.ruleid, ':', qr.description ) as combinedColumn
View ArticleCONCAT Help
I need to Con-cat My Last two fields in the select I have never used this command some guidance would be highly appreciated:select top 2000 p.description 'Program', bp.description...
View Article
More Pages to Explore .....