Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » override auto rdcaccount_id clause in a manually extended SQL
Re: override auto rdcaccount_id clause in a manually extended SQL [message #1994 is a reply to message #1990] Mon, 20 April 2009 08:51 Go to previous messageGo to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
Because the error crashes the system the SQL is not written out to the log file. However, the following is written out to the screen:

Fatal Error: MySQL error: 1052 - Column 'rdcaccount_id' in where clause is ambiguous (# 1052).

SQL query: SELECT SQL_CALC_FOUND_ROWS * FROM exam, candidate WHERE exam.candidate_id = candidate.candidate_id AND candidate.active_ind = 'Y' AND candidate.exam_ind = 'Y' AND session_id = '12' AND branch_id='F' AND rdcaccount_id IN ('1', '7') ORDER BY exam.session_id, exam.syllabus_type_id, exam.branch_id

Error in line 466 of file 'C:\xampp\includes\dml.mysqli.class.inc'.

The transaction is an ADD4 pattern.

Please let me know if there is any further info I need to provide.

Graham
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Use Messages[] in a LIST1 transaction
Next Topic: Dynamic Task Selection
Goto Forum:
  


Current Time: Thu Sep 12 20:35:18 EDT 2024

Total time taken to generate the page: 0.01265 seconds