Connecting python to DB2 database

Dennis Lee Bieber wlfraed at ix.netcom.com
Fri Sep 3 12:20:35 EDT 2021


On Fri, 3 Sep 2021 09:29:20 -0400, DFS <nospam at dfs.com> declaimed the
following:

>
>Now can you get DB2 to accept ; as a SQL statement terminator like the 
>rest of the world?   They call it "An unexpected token"...

	I've never seen a semi-colon used for SQL statements via a db-api
adapter. The semi-colon is, in my experience, only required by basic
interactive query utilities -- to tell the utility that the statement is
fully entered, and can be sent to the server.


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed at ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/



More information about the Python-list mailing list