Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Michael Said
>The test session finds out its session id (select
dbinfo('sessionid') from table(set{1})).
Very nice. I always used select dbinfo('sessionid') from systables
where tabid = 1; For the "dual" equivalent.
Thanks for the tip.
Any performance penalty to do it this way? Not that it matters much
since This isn't usually done in a loop.
So I created the view
create view dual(c) as select * from table(set{1}); -- For the Oracleguy starting next week so he doesn't get too confused.
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.