View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03494 | Bug reports | Survey editing | public | 2009-07-21 15:15 | 2009-07-31 14:42 |
Reporter | Assigned To | jcleeland | |||
Priority | normal | Severity | crash | ||
Status | closed | Resolution | duplicate | ||
Product Version | 1.85+ | ||||
Summary | 03494: MS SQL syntax error upon survey activation attempt | ||||
Description | LimeSurvey Version 1.85+ (7337) when attempting to activate a newly created survey.... xxxxxxx/admin/admin.php?action=activate&sid=58364 a SQL error is returned syntax error applies to activate.php line 63
should be
I changed my code and it works now. | ||||
Tags | No tags attached. | ||||
Bug heat | 26 | ||||
Complete LimeSurvey version number (& build) | 7337 | ||||
I will donate to the project if issue is resolved | |||||
Browser | IE 8 | ||||
Database type & version | MSSQL 2005 | ||||
Server OS (if known) | WINDOWS SERVER 2008 | ||||
Webserver software & version (if known) | IIS7 | ||||
PHP Version | 5 | ||||
group by is standard for all SQL based database engines. Must be used when there is any aggregation like sum, avg, count and etc. the group by must include all columns used within the select. |
|
I guess the "bug" which I was reporting was the two AND clauses being in the GROUP BY statement. In my opinion, those AND clauses should be in part of the WHERE statement... as I rewrote the code. Otherwise the query crashes. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-07-21 15:15 |
|
New Issue | |
2009-07-21 15:15 |
|
Status | new => assigned |
2009-07-21 15:15 |
|
Assigned To | => user372 |
2009-07-21 15:15 |
|
Build Number | => 7337 |
2009-07-21 15:15 |
|
Browser | => IE 8 |
2009-07-21 15:15 |
|
Database & DB-Version | => MSSQL 2005 |
2009-07-21 15:15 |
|
Operating System (Server) | => WINDOWS SERVER 2008 |
2009-07-21 15:15 |
|
Webserver | => IIS7 |
2009-07-21 15:15 |
|
PHP Version | => 5 |
2009-07-21 16:01 |
|
Assigned To | user372 => jcleeland |
2009-07-21 21:33 | bobc55 | Note Added: 08892 | |
2009-07-21 23:13 |
|
Note Added: 08893 | |
2009-07-28 11:29 |
|
Relationship added | has duplicate 03520 |
2009-07-31 07:18 |
|
Relationship added | has duplicate 03527 |
2009-07-31 14:42 | c_schmitz | Status | assigned => closed |
2009-07-31 14:42 | c_schmitz | Resolution | open => duplicate |
2009-08-19 00:55 | c_schmitz | Relationship added | has duplicate 03583 |
2010-10-25 00:17 | c_schmitz | Category | Survey Design => Survey design |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |