Re:Diferença entre varchar e varchar2

2 respostas
T

Nada que o Google não ache para você.

What is the difference between VARCHAR, VARCHAR2 and CHAR data types?

O que ocorre: na prática não há diferença, pois são o mesmo tipo. Se você precisa de codificar ANSI SQL prefira VARCHAR.

2 Respostas

D

A Oracle recomenda o uso de VARCHAR2.

http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/sql_elements001.htm#i54330

VARCHAR Datatype

The VARCHAR datatype is currently synonymous with the VARCHAR2 datatype. Oracle recommends that you use VARCHAR2 rather than VARCHAR. In future releases, VARCHAR might be defined as a separate datatype used for variable-length character strings compared with different comparison semantics.

P

Existe alguma diferença entre os dois? Se sim, quais?

Criado 29 de agosto de 2006
Ultima resposta 29 de ago. de 2006
Respostas 2
Participantes 3