Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > Database & Database Programming

Vote on your favorite hash algorithm here!

Database & Database Programming MySQL, Oracle, SQL, PL/SQL, ABAP, Smart Forms, and other databases and languages. A database is an organized body of related information used in many websites (including CC).

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-02-2006, 05:34 AM
sigs sigs is offline
Learning Programmer
 
Join Date: Apr 2006
Posts: 34
Credits: 0
Rep Power: 9
sigs is on a distinguished road
Default database

I want differnce between varchar() and varchar2() function in database
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-10-2006, 09:33 AM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,149
Credits: 112
Rep Power: 16
Lop will become famous soon enough
Default

Answer: Nothing

VARCHAR2 DATATYPE
The VARCHAR2 datatype specifies a variable length character string.
When you create a VARCHAR2 column, you can supply the maximum number
of bytes of data that it can hold. Oracle subsequently stores each
value in the column exactly as you specify it, provided it does not
exceed the column's maximum length. If you try to insert a value
that exceeds this length, Oracle returns an error.

You must specify a maximum length for a VARCHAR2 column. The
maximum length of VARCHAR2 data is 2000 bytes. Oracle compares
VARCHAR2 values using non-padded comparison semantics.

VARCHAR DATATYPE
The VARCHAR datatype is currently synonymous with the VARCHAR2
datatype. Oracle Corporation recommends that you use VARCHAR2
rather than VARCHAR. In a future version of Oracle, VARCHAR might
be a separate datatype used for variable length character strings
compared with different comparison semantics.
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-11-2006, 10:44 PM
roger roger is offline
Newbie
 
Join Date: May 2006
Posts: 16
Credits: 0
Rep Power: 9
roger is on a distinguished road
Default

I think its just difference of names as far as the usage is concerned...ORACLE recommends the usage of varchar2.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieving Access Database tigger Visual Basic Programming 0 07-06-2007 12:27 AM
Best program for SQL database manipulation Rhadamanthys Database & Database Programming 3 07-02-2007 02:32 PM
Best way to save lots of small values (in a database)? Vantage General Programming 2 05-14-2007 07:57 AM
Database backup, with a twist. Chrisms Database & Database Programming 5 09-05-2006 01:17 PM
Database and Database Users DevilsCharm Database & Database Programming 2 08-27-2006 10:22 AM


All times are GMT -5. The time now is 08:45 AM.

Contest Stats

Xav ........ 1357.94
MeTh0Dz|Reb0rn ........ 1083.85
WingedPanther ........ 919.18
marwex89 ........ 906.86
morefood2001 ........ 903.18
John ........ 902.37
Brandon W ........ 789.89
chili5 ........ 312.39
Steve.L ........ 264.99
dcs ........ 240.34

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 83%

Ads