Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

We are having error in creating dataset in knowage 7.0. when we were using declaration in our query. please see 

Environment knowage 7.0 MYSQL 6.2 WINDOWS CHROME
in General Configuration by (810 points)

2 Answers

0 votes
Dear

For security reasons,  Knowage checks the SQL statement in order to verify if contains only select statements.

What type on sql did you write ?

Best Regards

A
by (20.7k points)
Hi Angelo,

it's the same query i used in 6.4.4 version and its working. why in 7.0 is not, is the checking of sql query for security reason is the new features of 7.0? also Stored procedure has the same error when running in 7.0 version.
Hi,

In some case we have added some constraints on 7.

Could you write me the sql statements, and check inthe knowage.log file for more details.

Best regadrs

Angelo
0 votes

I faced the same issue.
Error was thrown because the query started with a comment

-- comment...
select ...
by (3.2k points)
Hi,

you can put set nocount on; in your query

-:D:D
...