You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE FUNCTION "some-test-example"."exsschema"."fnLastTx"(pDevice VARCHAR (100))
8
+
RETURNS table (tag integer, created BIGINT)
11
9
AS
12
-
INSERTINTO Lesson
13
-
SELECT*FROM @ParLessonType;
14
-
15
-
CREATEPROCEDURE Usp_InsertLesson2
16
-
@ParLessonType LessonType READONLY,
17
-
@ParLessonType2 LessonType READONLY
10
+
$$
11
+
SELECT tag, created FROM"some-test-example"."exsschema"."tx"WHERE tag = (SELECTMAX(tag) AS tag FROM"some-test-example"."exsschema"."tx"WHERE device = pDevice);
0 commit comments