Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 22nd, 2005, 07:47 PM
lokisapocalypse lokisapocalypse is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 474 lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 20 h 54 m 39 sec
Reputation Power: 92
Alter Table

I'm trying to make a column longer (without making a new column and copying each entry) so I tried:

Code:
 alter table tablename alter column email varchar(150);


But I get an error when I try that. Is that not the right syntax?

Reply With Quote
  #2  
Old September 23rd, 2005, 03:09 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,917 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 15 h 7 m 10 sec
Reputation Power: 279
Sorry, but RTFM

Reply With Quote
  #3  
Old September 23rd, 2005, 10:40 AM
lokisapocalypse lokisapocalypse is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 474 lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 20 h 54 m 39 sec
Reputation Power: 92
Quote:
Originally Posted by pabloj
Sorry, but RTFM


That did it. The site I found had the other expression listed. What is RTFM?

Reply With Quote
  #4  
Old September 23rd, 2005, 10:45 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,917 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 3 Days 15 h 7 m 10 sec
Reputation Power: 279
Quote:
Originally Posted by lokisapocalypse
What is RTFM?
RTFM (please don't get it as an insult)

Reply With Quote
  #5  
Old September 23rd, 2005, 11:08 AM
lokisapocalypse lokisapocalypse is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 474 lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level)lokisapocalypse User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 20 h 54 m 39 sec
Reputation Power: 92
Haha I like it. I'm going to start using that one in my labs. Thanks for the help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Alter Table


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT