-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUtilScriptHC_.sql
More file actions
34 lines (31 loc) · 1.58 KB
/
Copy pathUtilScriptHC_.sql
File metadata and controls
34 lines (31 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
use bd_H
SELECT TOP (1000) [UserId]
,[FirstName]
,[LastName]
,[Email]
,[Telephone]
,[ImagePath]
,[UserTypeId]
FROM [dbo].[Users]
where UserId = 4
go
SELECT TOP (1000) [UserScheduleId]
,[AgendaId]
,[UserId]
FROM [dbo].[UserSchedules] where UserId = 4
go
SELECT TOP (1000) [AgendaId]
,[startHour]
,[endHour]
,[DateSchedule]
,[idWorkDay]
,[StateId]
,[ApplicationUser_Id]
FROM [dbo].[Schedulers]
where AgendaId = 141
--delete from [dbo].[UserSchedules] where AgendaId = 37 and UserId = 4
{SELECT
[Extent1].[UserScheduleId] AS [UserScheduleId],
[Extent1].[AgendaId] AS [AgendaId],
[Extent1].[UserId] AS [UserId]
FROM [dbo].[UserSchedules] AS [Extent1]}