Answers for "sql declare varchar"

SQL
19

sql declare variable

-- Declare the variable to be used.
DECLARE @MyCounter int;

-- Initialize the variable.
SET @MyCounter = 0;
Posted by: Guest on March-03-2020
0

char varchar nvarchar sql

1. char - is the SQL-92 synonym for character. Data is padded with blanks/spaces to fill the field size. Fixed length data type.
2. nchar - is the SQL-92 synonym for national char and national character. Fixed length data type.
3. varchar - is the SQL-92 synonym for character varying. Variable length data type.
4. nvarchar - is the SQL-92 synonym for national char varying and national character varying. Variable length data type.
Posted by: Guest on January-07-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language