Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulf-999/sql_templates
SQL template scripts I've collated over time
https://github.com/paulf-999/sql_templates
snowflake sql sql-server
Last synced: 12 days ago
JSON representation
SQL template scripts I've collated over time
- Host: GitHub
- URL: https://github.com/paulf-999/sql_templates
- Owner: paulf-999
- Created: 2021-04-29T04:24:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-30T14:47:03.000Z (over 1 year ago)
- Last Synced: 2024-04-23T14:28:41.700Z (10 months ago)
- Topics: snowflake, sql, sql-server
- Language: Makefile
- Homepage:
- Size: 883 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## sql_templates
SQL template scripts I've collated over time.
| Folder | Description |
| --------------------------| --------------------------------------------------------------------------------------------------|
| eg_bikestore_db | Template SQL scripts to create a sample Bike store db |
| naming_conventions | SQL styleguide and standard Snowflake data type usage |
| sql | Template SQL scripts |## eg_bikestore_db
This folder contains SQL scripts to create and populate a sample bike store database in both an MSSQL and Snowflake DB. To run these scripts, see the 2 `makefiles` within the respective folders inside `eg_bikestore_db`.
### Prerequisite
Note: There is a prerequisite to executing the Snowflake scripts, in that a SnowSQL 'named profile' (containing your login creds) needs to be created. Though this is now part of the build script (`Makefile`).