Chris26
Explorer
Member since ‎2013 Feb 11

User Statistics

  • 45 Posts
  • 0 Solutions
  • 4 Kudos given
  • 43 Kudos received

User Activity

Lets say user A is impersonating as user X using "setuser X". In sa_conn_info, I still see "Userid = A". select current user does show "X", but this obviously only works on the connection that issued "setuser X". Is there any way you can tell from an...
Take this example create table Test1 (colA integer); create table Test2 (colB integer); insert into Test2 (colB) select new1.colA from (insert into Test1 (colA) values (1)) referencing (final as new1) After this tables Test1 and Test2 both cont...
Using v17.0.11.6933 Log in as user DBA. Run this script from Interactive SQL. create or replace procedure DBA.CreateTestTable() sql security invoker begin create table Test ( Id integer not null default autoincrement, Field1 integer...
Using 17.0.10.6230 From Interactive SQL When I run the following SQL statement (something like a manual cascade delete; and yes I know it's not perfect, but that's beside the point here) on a database with a specific table and FK structure. WITH RECU...
The question speaks for itself. This is the reproducible script create table t (c1 int, c2 int); begin declare x int = 1; insert into t (c1, c2) values (x, 1); insert into t (c1, c2) values (1, 1), (1, 2); insert into t (c1, c2) values (x, 1...