Question about Confluence SQL plugin

vaishali bansal April 23, 2014

I am running a stored procedure on confluence using Bob Swift's SQL pluing -

IF OBJECT_ID('dbo.test_Run_For_a_Day') IS NOT NULL

BEGIN

DROP TABLE dbo.test_Run_For_a_Day

END

GO

However I hit the following error each time. This command works fine with in the SQL management studio -

Error rendering macro 'sql' : java.sql.SQLException: Incorrect syntax near 'GO'

1 answer

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2014

Answered here.

Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 8, 2017

Hi Bob,

 

That link is dead. Is it possible to run stored procedures via the SQL plugin?

 

Kind regards

Jonas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events