Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL 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 February 13th, 2005, 08:03 PM
Alexandre Kogut Alexandre Kogut is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 5 Alexandre Kogut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 32 m 17 sec
Reputation Power: 0
Unhappy Computed By Fields

How can i change the expression of a "computed by" field without dropping it? ALTER TABLE is not working...

Reply With Quote
  #2  
Old February 15th, 2005, 12:28 AM
SilverDB's Avatar
SilverDB SilverDB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Romania
Posts: 173 SilverDB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 45 m 53 sec
Reputation Power: 4
Send a message via Yahoo to SilverDB
try UPDATE TABLE SET ...
I'm not sure it works cause I can't test it right now.

Reply With Quote
  #3  
Old February 15th, 2005, 06:56 AM
upscene upscene is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 223 upscene User rank is Corporal (100 - 500 Reputation Level)upscene User rank is Corporal (100 - 500 Reputation Level)upscene User rank is Corporal (100 - 500 Reputation Level)upscene User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 7 h 14 m 50 sec
Reputation Power: 8
Actually, you cannot via a normal ALTER TABLE statement.

You can use Database Workbench to do it ( www.upscene.com ), it uses a direct system tables update to do this.

With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL Server
Upscene Productions
http://www.upscene.com
Comments on this post
Alexandre Kogut disagrees!
__________________
Martijn Tonies
Database Workbench: developer IDE for Firebird, MySQL, InterBase, MSSQL Server and Oracle
Upscene Productions
http://www.upscene.com

Reply With Quote
  #4  
Old February 15th, 2005, 07:09 PM
Alexandre Kogut Alexandre Kogut is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 5 Alexandre Kogut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 32 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by SilverDB
try UPDATE TABLE SET ...
I'm not sure it works cause I can't test it right now.


No, it doesnŽt. The Update command can only set new values to fields, not change an expression. Thank you, anyway.

Reply With Quote
  #5  
Old February 15th, 2005, 07:57 PM
Alexandre Kogut Alexandre Kogut is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 5 Alexandre Kogut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 32 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by upscene
Actually, you cannot via a normal ALTER TABLE statement.

You can use Database Workbench to do it ( www.upscene.com ), it uses a direct system tables update to do this.



IŽve just downloaded it, and it really works! IŽll be doing some other tests during the trial period, but it seems to be a very nice tool. Thank you.

Reply With Quote
  #6  
Old February 17th, 2005, 03:36 AM
fikret fikret is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: Sarajevo, Bosnia
Posts: 111 fikret User rank is Corporal (100 - 500 Reputation Level)fikret User rank is Corporal (100 - 500 Reputation Level)fikret User rank is Corporal (100 - 500 Reputation Level)fikret User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 5 h 17 m 43 sec
Reputation Power: 8
Quote:
Originally Posted by Alexandre Kogut
... but it seems to be a very nice tool. Thank you.


Sure it is VERY NICE TOOL

--
Best regards,
Fikret Hasovic http://fikret.fbtalk.net

FirebirdSQL Foundation member.
- Join today at http://www.firebirdsql.org/ff/foundation
JEDI VCS contributor
http://jedivcs.sourceforge.net/

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Computed By Fields


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 6 hosted by Hostway