-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEC_IT143_W4.2_simpsons_s7_dn.sql
More file actions
37 lines (26 loc) · 1000 Bytes
/
Copy pathEC_IT143_W4.2_simpsons_s7_dn.sql
File metadata and controls
37 lines (26 loc) · 1000 Bytes
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
35
36
37
create procedure dbo.usp_name_load
as
/*****************************************************************************************************************
NAME: dbo.usp_name_load
PURPOSE: name - load user stoered procedure
MODIFICATION LOG:
Ver Date Author Description
----- ---------- ----------- -------------------------------------------------------------------------------
1.0 05/23/2022 JJAUSSI 1. Built this script for EC IT143
RUNTIME:
1s
NOTES:
This script exist to help me learn step 7 of 8 in the answer focused aproach for T-SQL Data Manipulation
******************************************************************************************************************/
begin
-- Q1) reload data
truncate table dbo.t_name;
insert into dbo.t_name
select v.my_message
, v.family_members
from dbo.v_name_load as v;
-- a1) review results
SELECT t.*
from dbo.t_name as t;
end
go