Skip to content

Commit

Permalink
data type samples
Browse files Browse the repository at this point in the history
  • Loading branch information
premkumr committed Feb 8, 2023
1 parent 38bc4f6 commit 3c34f98
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions samples/sample_datatype.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
create table inttest (
k_sml smallint,
k_big bigint,
k_int integer
);

create table serialtest (
k_ser serial,
k_sml smallserial,
k_big bigserial
);

create table testreal (
k_dbl double precision,
k_num numeric,
k_dec decimal,
k_rea real
);

create table testtext (
k_txt text,
k_ch1 char,
k_ch2 character,
k_vc1 character varying (3),
k_vc2 varchar (4)
);

create table testquote (
K_Quo integer,
kquot varchar (3),
"KQuo" int
);

0 comments on commit 3c34f98

Please sign in to comment.