Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created June 5, 2019 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/ad608a43dabd48d80d38f3eacad378d6 to your computer and use it in GitHub Desktop.
Save parzibyte/ad608a43dabd48d80d38f3eacad378d6 to your computer and use it in GitHub Desktop.
/*
CRUD con SQL Server y PHP
@author parzibyte [parzibyte.me/blog]
@date 2019-06-03
================================
Este archivo define la tabla e inserta algunos datos
para trabajar
================================
*/
CREATE TABLE mascotas(
id bigint identity(1,1) primary key,
nombre varchar(50) NOT NULL,
edad smallint NOT NULL
);
insert into mascotas
(nombre, edad)
values
('Maggie', 3),
('Guayaba', 2),
('Capuchina', 2),
('Snowball', 1),
('Panqué', 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment