Search
 
SCRIPT & CODE EXAMPLE
 

SQL

tsql For XML Path('), TYPE).value

SELECT
         STUFF((select ',' + quotename (C.name)
          from sys.columns c
          where c.object_id = OBJECT_ID('dbo.result2')
          for xml path(''), TYPE).value('(./text())[1]', 'NVARCHAR(MAX)'),1,1,'');
Comment

PREVIOUS NEXT
Code Example
Sql :: #configuration database using PostgreSQL in ubuntu 
Sql :: see here: https://mode.com/sql-tutorial/sql-window-functions/ 
Sql :: sqlalchemy query return only n results 
Sql :: chAnge TABLE name apex oracle 
Sql :: joins vs includes 
Sql :: mysql procedure between two tables 
Sql :: sql query use select name inside where clause 
Sql :: SQL Server log file truncate - Source :NAYCode.com 
Sql :: having all mysql 
Sql :: how to read the potentail error messages in ssis package 
Sql :: sql convert 
Sql :: dump sql databse import export 
Sql :: oracle connection 
Sql :: MySQL can’t specify target table for update in FROM clause (Updating same table from same select inner join table) 
Sql :: calcular edad en oracle 
Sql :: SQL Copy Selected Columns Only 
Sql :: sqlite query timer 
Sql :: generate sql trigger through ef migration 
Sql :: sqlite closes value 
Sql :: Sql Cursor: Implicit 
Sql :: sql grant 
Sql :: Pattern matching alternative sql 
Sql :: oracle create job if not exists 
Sql :: loop through a table variable in TSQL without using a cursor 
Sql :: get many value to 1 column sql 
Sql :: sql bild in function 
Sql :: find class =5 from list 
Sql :: downlaod database mysql workbench 
Sql :: sql queries for interview 
Sql :: correlated subquery 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =