This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
JDBC and Relational Databases
SQL question : changing the string size of a column
Joined: Nov 18, 2002
Jun 11, 2003 14:20:00
I have a table that is already created and filled with data. One of the column is a VARCHAR(20)
and I'd like to change it now to something bigger VARCHAR(300).
What is the SQL command to do it ??
Sam<p>"Life is difficult"<br /> -Scott Peck-</p>
Joined: May 22, 2002
Jun 11, 2003 16:16:00
This is how it's done in Oracle:
alter table your_table modify the_column varchar2(300);
Normal is in the eye of the beholder
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: SQL question : changing the string size of a column
Inserting values from textbox into database
Get only date in a select statement
Problem in reading a multilengual XML file into database
SQL SUM function
ORA-00972: identifier is too long at select statement
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015