SAP Knowledge Base Article - Preview

2414615 - Create Table syntax in online document incorrect - SAP ASE

Symptom

The following query for create table is incorrect in the online documentation:

if not exists   
(select * from sysobjects where name="my table")
begin
execute ("create table mytable (x int)")
end


This query returns a syntax error: 

Msg 156, Level 15, State 2:Server '<SERVER_NAME>', Line 5:Incorrect syntax near the keyword 'end'.
DB-LIBRARY error: Incorrect syntax near the keyword 'end'.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 15.7 online documentation

Product

SAP Adaptive Server Enterprise 15.7

Keywords

manuals , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.