1. PostgreSQL copy of all MySQL created and tested.\n 2. Purchase Orders and Sales Orders and stock level management added to MySQL, PostgreSQL, and server and front end code.
This commit is contained in:
26
static/MySQL/910_anal.sql
Normal file
26
static/MySQL/910_anal.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
USE PARTSLTD_PROD;
|
||||
|
||||
|
||||
SELECT TABLE_NAME
|
||||
FROM INFORMATION_SCHEMA.TABLES
|
||||
WHERE TABLE_NAME LIKE '%SHOP%'
|
||||
OR TABLE_NAME LIKE '%FILE_TYPE%';
|
||||
|
||||
|
||||
SELECT FOUND_ROWS();
|
||||
|
||||
|
||||
|
||||
SELECT
|
||||
CONSTRAINT_NAME,
|
||||
CONSTRAINT_TYPE,
|
||||
TABLE_NAME,
|
||||
COLUMN_NAME,
|
||||
REFERENCED_TABLE_NAME,
|
||||
REFERENCED_COLUMN_NAME
|
||||
FROM
|
||||
INFORMATION_SCHEMA.TABLES
|
||||
WHERE
|
||||
TABLE_SCHEMA = 'PARTS'
|
||||
-- AND TABLE_NAME = 'your_table_name';
|
||||
Reference in New Issue
Block a user