Jchristophe Cherid
Jchristophe Cherid

Reputation: 79

DB2/400 SQL : Does the "USE" statement exist under DB2/400?

On MySQL or SQL Server database, the USE statement allows me to work in the right schema.

Is there on DB2/400 SQL the equivalent command?

I do not want to work with the command CHGCURLIB because our schema names often exceed 10 characters.

thanks for your advices

Upvotes: 0

Views: 166

Answers (1)

Dam
Dam

Reputation: 1074

SET CURRENT SCHEMA = 'xxxxxxxx'

see V7R3 documentation about unqualified names

Upvotes: 1

Related Questions