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 July 28th, 2006, 04:42 AM
nicky_net nicky_net is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 2 nicky_net User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 39 sec
Reputation Power: 0
FirebirdSql.Data.Firebird.FbException ?

Hi, I am new to firebird database. I got "FirebirdSql.Data.Firebird.FbException" (arithmetic exception, numeric overflow, or string truncation
Implementation of text subtype 52 not located.) while trying to update my firebird database.

My code for updation is :-

Dim dbcon As IDbConnection = New FbConnection(connectionString)
dbcon.Open()

Dim dbcmd As IDbCommand= dbcon.CreateCommand
dbcmd.CommandText = sSQL
dbcmd.ExecuteNonQuery()

my query looks like this:- "UPDATE HISTORY_MASTER SET Status='RUNNING', WHERE Mkey='5e81f9859d223ea420aca993c647b839' AND Status='Start';" Please help me in that.

Thanks
Nicky

Reply With Quote
  #2  
Old July 28th, 2006, 05:01 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,808 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 21 h 29 m 33 sec
Reputation Power: 278
Check the query alone from a client tool like Flamerobin

Reply With Quote
  #3  
Old July 28th, 2006, 05:36 AM
nicky_net nicky_net is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 2 nicky_net User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 39 sec
Reputation Power: 0
query alone is working fine no prob with that.

Reply With Quote
  #4  
Old July 28th, 2006, 07:12 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,808 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 21 h 29 m 33 sec
Reputation Power: 278
Quote:
Originally Posted by nicky_net
query alone is working fine no prob with that.
The original one maybe, but the one you posted has syntax problems.

Reply With Quote
  #5  
Old July 28th, 2006, 07:16 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,808 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 21 h 29 m 33 sec
Reputation Power: 278
Sounds strange anyway, a problem due to collation maybe, see here(16.3 Additional Shared Libraries)

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > FirebirdSql.Data.Firebird.FbException ?


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