what is the difference between char and varchar data types? : Sql dba
Answer / Husna Tabassum
The CHAR data type in SQL maintains a fixed length for each character field, even if the actual data stored is shorter. If the string is shorter than the specified length, it will be padded with spaces on the right side. On the other hand, the VARCHAR data type stores variable-length strings of up to a maximum size and does not pad spaces. This makes VARCHAR more space-efficient compared to CHAR.
| Is This Answer Correct ? | 0 Yes | 0 No |
What will you get by the cursor attribute sql%rowcount?
How are sql commands classified?
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
How does sql*loader handles newline characters in a record? : aql loader
Where do we use pl sql?
how to install mysql? : Sql dba
What is pl sql collection?
What is the difference between delete, truncate and drop command?
Why coalesce is used in sql?
HP Interview -2016 Unix 1) grep command in unix 2) what is set command
What is record data type?
what eliminate duplicate without using roenum and not
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)