Search
 
SCRIPT & CODE EXAMPLE
 

SQL

SQL print multiple variable

declare @first INT = 1, @second int = 2
PRINT '1st var ' + CAST(@first AS VARCHAR) + ' 2nd var ' + CAST(@second AS VARCHAR)
Comment

PREVIOUS NEXT
Code Example
Sql :: difference between 2 query results sql server 
Sql :: ms sql print more than 1 variable 
Sql :: between 
Sql :: alter column to not null with default value sql server 
Sql :: Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details. 
Sql :: sqlite commands 
Sql :: how to casting data types in postgresql 
Sql :: increment id in mysql 
Sql :: mysqli inner join (php) 
Sql :: mysql group concat 
Sql :: influxdb delete measurement based on date 
Sql :: select into insert sql server 
Sql :: how to search query in python3 sqlite3 
Sql :: json_remove mysql 
Sql :: postgresql create table many-to-many 
Sql :: datagrip exec 
Sql :: mysql two joins 
Sql :: mysql if statement in where clause 
Sql :: mariadb create index if not exists 
Sql :: Mysql table variables 
Sql :: sql and 
Sql :: divide by zero error in sql 
Sql :: how to get table id sequence postgres 
Sql :: pgadmin postgres ERROR: database is being accessed by other users 
Sql :: mysql search multiple tables 
Sql :: oracle cpu metric 
Sql :: sql foreign key constraint 
Sql :: group by sql not ordering issues 
Sql :: many to many flask-sqlalchemy 
Sql :: getting customers with no orders sql 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =