Advertisement

11.26.2008 at 12:08PM PST, ID: 23938544 | Points: 300
[x]
Attachment Details

multiple updates in firebird using IBmanager

Tags:

firebird, multiple update

HI, in SQL SERVER i can do this stuff in one script named "UPDATE.sql":
   UPDATE <table> SET <fieldname>=data1
  UPDATE <table> SET <fieldname>=data2
  .
  .
  .
  UPDATE <table> SET <fieldname>=datan

how can i do the same in Firebird, using IBManager? when i tried to do it it shows:
       fmSQLEditor.Query:
       Invalid token.
       Dynamic SQL Error.
      SQL error code = -104.
      Token unknown - line 2, char 1.
      update.

i've already tried semicolons at the end of each UPDATE stament.
thanks
 
Expert Comment by NickUpson:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by patobrown:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Expert Comment by danielPetras:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
Author Comment by patobrown:

All comments and solutions are available to Premium Service Members only. Start your 7-day free trial to view the solution to this question.

Already a member? Login to view this solution.

 
 
20081119-EE-VQP-45 - Hierarchy / EE_QW_2_20070628