DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = How do i compare the value of my SUM command in sql oracle? - iTechForums
Login
Search   Moderators Wanted: If you're interested please send your portfolio to info[at]itechforums.com
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 03-17-2010, 12:27 PM
John S John S is offline
Member
 
Join Date: May 2008
Posts: 65
Default

How do i compare the value of my SUM command in sql oracle?


How do i compare the value of my SUM command in sql oracle?

So i have made a trigger which will add the numbers from a column using the SUM command, however, I can't do:
WHEN ((sum(row.salary))80000)
BEGIN

as it returns an error saying group function is not allowed here. Help please!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a database compare tool that can compare schema and data between two ms ArroLu MS SQL 0 12-14-2009 08:43 AM
How do I compare the sum of distinct line in Oracle? Hatch Oracle 0 11-16-2009 06:16 PM
how to compare two columns in oracle? Aswin K Oracle 0 07-08-2009 09:36 AM
Compare Microsoft SQL syntax to Oracle? warped_factor_ten Oracle 0 07-23-2008 01:08 PM
Compare MS SQL syntax to Oracle? warped_factor_ten MS SQL 0 07-21-2008 05:55 AM

Your Ad Here

All times are GMT. The time now is 03:21 AM.