File: bossa.sql

package info (click to toggle)
pgloader 3.6.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,060 kB
  • sloc: sql: 32,321; lisp: 14,793; makefile: 435; sh: 85; python: 26
file content (30 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (7)
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
---
--- We need to run some tests where we don't provide for the schema within
--- the pgloader command itself, so we prepare the schema "manually" here in
--- advance.
---

drop table if exists intf_derivatives, intf_stocks;

create table intf_stocks
  (
   ticker     text,
   quote_date date,
   open       numeric,
   high       numeric,
   low        numeric,
   close      numeric,
   volume     bigint
  );

create table intf_derivatives
  (
   ticker     text,
   quote_date date,
   open       numeric,
   high       numeric,
   low        numeric,
   close      numeric,
   volume     bigint,
   openint    bigint
  );