質問編集履歴

1

追記 Table

2021/05/29 04:19

投稿

yhasegawa55
yhasegawa55

スコア189

test CHANGED
File without changes
test CHANGED
@@ -17,3 +17,23 @@
17
17
  (select TOP 1 ID from [tb_eSession] as tb1 where tb1.ses_uID = tb.ses_uID order by tb1.loginDate DESC)
18
18
 
19
19
  ```
20
+
21
+
22
+
23
+ 追記 Table です
24
+
25
+ ```SQL
26
+
27
+ create table [dbo].[tb_eSession] (
28
+
29
+ ID int identity not null
30
+
31
+ , [ses_uID] int
32
+
33
+ , [loginDate] datetime default getdate() not null
34
+
35
+ , primary key (ID)
36
+
37
+ );
38
+
39
+ ```