answersLogoWhite

0

What does varchar content?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer
User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does varchar content?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between char and varchar datatypes?

Char is fixed length, while Varchar is variable length.


How do you create an application form using PHP?

CREATE TABLE `test`.`users` ( `id` INT NOT NULL auto_increment , `name` VARCHAR( 20 ) NOT NULL , `password` VARCHAR( 20 ) NOT NULL , `email` VARCHAR( 20 ) NOT NULL , PRIMARY KEY ( `id` ) )


What is the difference between text and varchar in mysql?

That is text where we put only character type value and that is varchar where we put all data type value


What is the difference between varchar and nvarchar?

The difference between varchar and nvarchardatatypes is that Nvarchar stores UNICODE data. If you have requirements to store UNICODE or multilingual data, nvarcharis your choice. Varchar stores ASCII data and should be your data type of choice for normal use.


What is the maximum size of varchar in db2?

32767 bytes


What is var char in php?

Varchar in SQL means string in PHP.


What is the difference between varchar and char?

Varchar cuts off trailing spaces if given a shorter word than its declared length, while char does not. Char will pad spaces after it if given a shorter word.


How do you create admin user in php?

Have a separate field in your database and allocate the post accordingly. For eg. $query = mysql_query("CREATE TABLE IF NOT EXISTS Login ( Username varchar(12) NOT NULL Primary Key, Password varchar(12) NOT NULL, Post varchar(8), // Add more fields to your liking )"); For post allocate as admin, supervisor, etc


How do you use case and else condition update and insert in sql server stored procedure?

CREATE PROCEDURE SP_MENUMASTER_UPDATE( @PARENT_ID INT(3) ,@MENU_NAME VARCHAR(100) ,@UR VARCHAR(100) ,@USR VARCHAR(255) ,@I_D INT(3) ,@ifvalue VARCHAR(50) ) AS BEGIN CASE ifvalue WHEN "newuser" THEN UPDATE MENUMASTER SET USER=USR WHERE ID=I_D; ELSE UPDATE MENUMASTER SET PARENTID=PARENT_ID,MENUNAME=MENU_NAME,URL=UR WHERE ID=I_D; END CASE; END


What is the difference between varchar and int?

The former is for strings, the later is for numbers (integers).


Maximum length of a varchar field in SQL Server?

12,500 is the maximum length of a varchar field. The nVarchar field has the same limitation however you will use twice the data store space with an nVarchar as it is effectively the same as a varchar with the exception that it will store data required for international character sets. If you support a multi-language system then you will want to use a nVarchar character type for these fields.


A telephone number would be stored in a field in a database?

You can save it in NUMERIC or varchar datatype.