bump. Any ideas, anyone?
TIA.
User Profile
Collapse
-
Thanks for the reply, but I can't find the equivalent function call for "set schema XXX". The "set schema" command is a command-line way of doing it - I need a way of doing it from within our application (I think DB2 calls it a CLI (Call level interface)). I.E.: Something along the lines of SQLSetConnectAt tr(), but which affects the current schema.
Thanks....Leave a comment:
-
So, you're looking for final output something like:
Code:/\ / \ /____\ |_|
Right? Well, it looks like you already have a method of determining how far to space the left side of the tree... All you need to do is figure out how to calculate the spaces for the "middle"...Leave a comment:
-
Set Schema programmatically?
Is there any way to set the "current schema" programmaticall y (C++, if it matters)? I've tried both "SQL_ATTR_CLISC HEMA" and "SQL_ATTR_CURRE NT_SCHEMA" via "SQLSetConnectA ttr()" to no avail (I've verified that the chosen schema was properly set via "SQLGetConnectA ttr"() as well). The schema would "set", but it never seemed to affect any queies (I set it to something invalid, but could still...
No activity results to display
Show More
Leave a comment: