Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F41924883
populate_data.sql
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
477 B
Referenced Files
None
Subscribers
None
populate_data.sql
View Options
-- POPULATE DB
---- Create a new group
INSERT
INTO
service_group
(
name
,
description
)
VALUES
(
'Group 1'
,
'This is the first service group.'
),
(
'Group 2'
,
'This is the second service group.'
)
RETURNING
*
;
---- Insert data into the service table:
INSERT
INTO
service
(
name
,
"group"
,
description
,
status
)
VALUES
(
'Service A'
,
1
,
'Description A'
,
'Active'
),
(
'Service B'
,
2
,
'Description B'
,
'Inactive'
),
(
'Service C'
,
1
,
'Description C'
,
'Active'
)
RETURNING
*
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 8, 03:11 (23 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3919379
Default Alt Text
populate_data.sql (477 B)
Attached To
Mode
rSP ServPulse
Attached
Detach File
Event Timeline
Log In to Comment