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 May 1st, 2005, 02:48 AM
Dev_ Dev_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 6 Dev_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 sec
Reputation Power: 0
UPDATE and INSERT statements in Firebird

Hi,
I can't execute any UPDATE or INSERT statement using Firebird API. There are no errors or something like that. Everything is just fine but the changes in the table are not applied. How can I fix this?

Reply With Quote
  #2  
Old May 1st, 2005, 03:44 AM
shammat shammat is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 993 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 6 m 4 sec
Reputation Power: 66
Quote:
Originally Posted by Dev_
Hi,
I can't execute any UPDATE or INSERT statement using Firebird API. There are no errors or something like that. Everything is just fine but the changes in the table are not applied. How can I fix this?


COMMIT ?

Reply With Quote
  #3  
Old May 1st, 2005, 09:42 AM
Dev_ Dev_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 6 Dev_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 sec
Reputation Power: 0
I forget to say that CREATE TABLE, DROP TABLE and SELECT statements work just fine. Transactions work also without errors.

Reply With Quote
  #4  
Old May 1st, 2005, 10:20 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
Maybe you have some errors in your SQL statement ? Can you post one of your statements here ?

Maybe you try to update something that doesn't exist ?
__________________
If i've been helpful, please add to my reputation.
My unfinished site: http://www.dever.ro

Reply With Quote
  #5  
Old May 1st, 2005, 02:07 PM
Dev_ Dev_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 6 Dev_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 sec
Reputation Power: 0
I tried to execute these statements with isql application, which is included with Firebird and they also worked just fine.
But when I try to execute them in my program there is nothing happens.

Reply With Quote
  #6  
Old May 5th, 2005, 12:40 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
Well, at least you are sure now that the error is inside your app ...
What do you use for development ? FireBird & ???

Reply With Quote
  #7  
Old May 5th, 2005, 02:53 AM
Dev_ Dev_ is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 6 Dev_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 sec
Reputation Power: 0
The problem is solved. I found the mistake in my programm.
Thanks all for the answers.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > UPDATE and INSERT statements in Firebird


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