Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
proyecto-estandar
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Israel Gutierrez Salazar
proyecto-estandar
Commits
4e8223f0
Commit
4e8223f0
authored
Jan 18, 2018
by
Israel Gutierrez Salazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADD] Adicion de query de creacion de base de datos
parent
6b5b9e84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
demojsoncrud.sql
demojsoncrud.sql
+33
-0
No files found.
demojsoncrud.sql
0 → 100644
View file @
4e8223f0
if
db_id
(
'demojsoncrud'
)
is
not
null
begin
use
master
drop
database
demojsoncrud
end
go
create
database
demojsoncrud
go
use
demojsoncrud
go
create
table
persona
(
codigo
smallint
identity
(
1
,
1
)
primary
key
,
dni
varchar
(
8
)
unique
not
null
,
apellidos
varchar
(
50
)
not
null
,
nombres
varchar
(
50
)
not
null
,
edad
smallint
not
null
,
correo
varchar
(
50
)
unique
not
null
,
estado
bit
not
null
)
go
insert
into
persona
(
dni
,
apellidos
,
nombres
,
edad
,
correo
,
estado
)
values
(
'75441247'
,
'MORENO POSTIGO'
,
'RAUL ALONSO'
,
21
,
'RMORENO.TI@SACOOLIVEROS.EDU.PE'
,
1
)
insert
into
persona
(
dni
,
apellidos
,
nombres
,
edad
,
correo
,
estado
)
values
(
'74075863'
,
'CHAMAYA DE LA CRUZ'
,
'ENRIQUE ALEXANDER'
,
20
,
'ECHAMAYA.TI@SACOOLIVEROS.EDU.PE'
,
0
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment