From 2abb067ecff11d1f81a3cb654207311400748564 Mon Sep 17 00:00:00 2001 From: Fredrik Finnberg Date: Thu, 28 Jan 2021 08:47:36 +0200 Subject: [PATCH] tietomallin taulujen ja relaatioiden luontilauseet --- .../Kaikki_dbo_taulut_ja_relaatiot.sql | Bin 0 -> 170676 bytes Tietokanta/Korkeakoulu_kanta/LueMinut.txt | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 Tietokanta/Korkeakoulu_kanta/Kaikki_dbo_taulut_ja_relaatiot.sql create mode 100644 Tietokanta/Korkeakoulu_kanta/LueMinut.txt diff --git a/Tietokanta/Korkeakoulu_kanta/Kaikki_dbo_taulut_ja_relaatiot.sql b/Tietokanta/Korkeakoulu_kanta/Kaikki_dbo_taulut_ja_relaatiot.sql new file mode 100644 index 0000000000000000000000000000000000000000..a791d5c58b9126c9ab623680ed5845fef2522979 GIT binary patch literal 170676 zcmeHQU2hz>lI_=BVE=<29Uus9azFOI?1SPcvDS|5wUuN8BN#Y|5h;=-L$VC`&)?lT zER{)i7uh7cXPP}C3|X=~ERw~;!(y>m{J($w(7o)Ax`Xaj_qco3y`aC3xb{{8$Mp9R zee#5U`j)q>@5AnEs)bwnd-rR1MJ@Y+T7B4^b?4pd?oawU?{3WR zADCAB8~rcp`i08BqEB6R@6FF{{U_be-GlDS?sNM3j6V0&wDW-41zjANHaw?#kGqGa zEyt#h_H)wv&p*}pq`Red+;$)6>x$ZQc31x;{pNLd-Tl^`n(x0*y?^ii;?+8o_LyW` zb-zcYeDz5RkA!W@Q!4j%w5+tDU;41SFq(ygo9-R8`popMix{E9%{Y?r$Tb zg}y>ZXC(bS{R~W|w6)(xSI);I-Rte_%N1;5zT6V3-q4)bm@&RJNQIO))bcBJ-uSva zpc#Sr{*v_kg677tnbDYO&xt)Y%Dm*64}CnR635;5^qChl{|*f2;QK?GY2YKwdCdNA z=yzb9;e0-%PdzmM_gVK7$vWvC(Ptl!8GYm?q|`1?~Huy)8Hs*o%QT$k$HOT|7+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5zFV4u&Ov-@gqeo&V5d4HLKSqHm!~;=y~jHQZKnbh}88q4S~AMv9Y)hi2JH|Rc48YXhjQm2wGwYZYs_W91F&C13sSVdR6l00E zb1`aIJ5$D@)S}Q=hpe1vx?07e7 z*vm5hi?wyT7A1ON-@b!x!c1j9mx~5lazAn4_HUgC=%19`7=Q2>9`sWA=+NctD^^0i zT_bX^??>Jf#6+Fas&Y-Y79=AepC`cL$jd^XCodOmWi8&V^&eXg=32W-^srWh>iV?a z6yzoSlWf2^-$7%kl1fmSDtkY9F-N=Ww7|KCwZ7Z3-B>;y+r0OglhJTrj^lO9^Mi(w zxU0RIj}$-hIEAA`2Y$&iPSR!VGY5rwyvEhga!YVBiMi1{^RNZJ=vrs{DDMpNq;8>@!cn=UPmNatW+wj_>7m$oFArXp&2 z)RxB?>0CGWPE#M-&>b1*GjeRrzjU>Bamy!cn#Rh#So&yU)aE-a z)azjG*767C`S`~qnVlJQzIvCUIdNF6`sonjCIm*Wamzahr zTkC!zXQ?$yU{`7SxdUtfHC4_ZuJnf#KuXc}w9{lHgT3;V)NFNl>+?_z5Z zZG%16X$R{zj<;~RT(pHH-5)NC>0n=w7C*a+aa*ipF4|(U?hoGLTG$ri5VQA=_ysuu zKG3b+x$pJby@tR3+4Wp&LELX_%f|UIwpv&jxoAz3S|e^XO{1Oj_`a-0wR+M=^u8he zxib60Hf8_Qx#;beZ#eb2Z_^DmRE9{&XVAaZcY62Y6Jk=4Lya?RVjSk$)#TMIGgHrw ifOdt^$XuwG%tdBQ*6vZ7r$e+ak45w3kByOw(EkT=B!DRZ literal 0 HcmV?d00001 diff --git a/Tietokanta/Korkeakoulu_kanta/LueMinut.txt b/Tietokanta/Korkeakoulu_kanta/LueMinut.txt new file mode 100644 index 0000000..88f62af --- /dev/null +++ b/Tietokanta/Korkeakoulu_kanta/LueMinut.txt @@ -0,0 +1,13 @@ +27.1.2021 + +Kaikki_dbo_taulut_ja_relaatiot.sql skriptin avulla voi luoda MS SQL Serverille tietomallin mukaiset taulut ja relaatiot. + + + + +Kysymykset: virta(a)csc.fi + + + + +