Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Creates a small database table

NotificationsYou must be signed in to change notification settings

bearddan2000/java-cli-buildr-sqlserver-ssl-com-tbl-exp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Creates a small database tablecalleddog. This table,dog, has been normalized to 3NF.Two new tables have been added,breedLookup andcolorLookup.Creates a new tabledog_expanded that joinsdog,breedLookup andcolorLookup. Added clustered indexes ondog.breedId anddog.colorId. Turneddog_expanded into a view. Usinga common table expression with the aggregate functionCOUNT, create a new viewbreed_count. All output normallyseen in a terminal will be injava-srv/log which will dump to the screen. The project may seem to hang but the logs from the container must be written to the project this can take up to 3 min.

Sql server uses self-signed ssl.

Tech stack

  • java
  • buildr
    • log4j
    • ms sql driver

Docker stack

  • alpine:edge
  • vanto/apache-buildr:latest-jruby-jdk8
  • mcr.microsoft.com/mssql/server:2017-latest-ubuntu

To run

sudo ./install.sh -uCreates java-srv/log

To stop

sudo ./install.sh -dRemoves java-srv/log

For help

sudo ./install.sh -h

Credit

https://github.com/htorun/dbtableprinter


[8]ページ先頭

©2009-2025 Movatter.jp