Skip to content

Commit

Permalink
deploy: df44115
Browse files Browse the repository at this point in the history
  • Loading branch information
tibitoth committed Nov 17, 2023
1 parent c98c1b0 commit 4508ccc
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions en/homework/mssql/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ <h2 id="exercise-1-password-expiry-maintenance-2-points">Exercise 1: Password ex
<p>Add a new column to the <code>Customer</code> table with the name <code>PasswordExpiry</code> storing a date: <code>alter table [Customer] add [PasswordExpiry] datetime</code>.</p>
</li>
<li>
<p>Create a trigger that automatically fills the <code>PasswordExpiry</code> date column when the password value is updated. The new value should be the current date plus one year. The trigger shall calculate the value. When a new Customer is registered (inserted into the table), the column should always be populated automatically. However, when data is updated, only update the date if the password is changed. (E.g. if only the address is altered, the date should not be updated.) The trigger should only update the date for the inserted/modified record (it should not set it for all records in the table)! In this exercise, you may suppose that there is always one record inserted/modified at any time.</p>
<p>Create a trigger that automatically fills the <code>PasswordExpiry</code> date column when the password value is updated. The new value should be the current date plus one year. The trigger shall calculate the value. When a new Customer is registered (inserted into the table), the column should always be populated automatically. However, when data is updated, only update the date if the password is changed. (E.g. if only the address is altered, the date should not be updated.) The trigger should only update the date for the inserted/modified record (it should not set it for all records in the table)! In this exercise, you may suppose that there could be more than one record inserted/modified at any time.</p>
</li>
</ol>
<p>Make sure to verify the behavior of the trigger under various circumstances.</p>
Expand Down Expand Up @@ -1504,8 +1504,8 @@ <h2 id="exercise-2-optional-product-recommended-age-0-points">Exercise 2 optiona
</path>
</svg>
</span>
<span title="September 12, 2023 12:41:10">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-09-12T12:41:10+02:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-09-12</span>
<span title="November 17, 2023 14:22:19">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:22:19+01:00" locale="en"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
2 changes: 1 addition & 1 deletion en/search/search_index.json

Large diffs are not rendered by default.

Binary file modified en/sitemap.xml.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions hu/homework/mssql/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1474,7 +1474,7 @@ <h2 id="feladat-1-jelszo-lejarat-es-karbantartasa-2-pluszpont">Feladat 1: Jelsz
<p>Adj hozzá egy új oszlopot a <code>Customer</code> táblához <code>PasswordExpiry</code> néven, ami egy dátumot tartalmaz: <code>alter table [Customer] add [PasswordExpiry] datetime</code>.</p>
</li>
<li>
<p>Készíts egy triggert, amellyel jelszó változtatás esetén automatikusan kitöltésre kerül a <code>PasswordExpiry</code> mező értéke. Az új értéke a mai dátum plusz egy év legyen. Az értéket a szerver számítsa ki. Ügyelj arra, hogy új vevő regisztrálásakor (<em>insert</em>) mindig kitöltésre kerüljön a mező, viszont a vevő adatainak szerkesztésekor (<em>update</em>) csak akkor változzon a lejárat dátuma, ha változott a jelszó. (Tehát pl. ha az email címet változtatták csak, akkor a lejárat ne változzon.) A trigger csak a beszúrt/frissített rekorddal törődjön (tehát nem a tábla teljes tartalmára kell frissíteni a dátum oszlopot)! A feladatban feltételezheted, hogy egyszerre csak egyetlen rekord módosul.</p>
<p>Készíts egy triggert, amellyel jelszó változtatás esetén automatikusan kitöltésre kerül a <code>PasswordExpiry</code> mező értéke. Az új értéke a mai dátum plusz egy év legyen. Az értéket a szerver számítsa ki. Ügyelj arra, hogy új vevő regisztrálásakor (<em>insert</em>) mindig kitöltésre kerüljön a mező, viszont a vevő adatainak szerkesztésekor (<em>update</em>) csak akkor változzon a lejárat dátuma, ha változott a jelszó. (Tehát pl. ha az email címet változtatták csak, akkor a lejárat ne változzon.) A trigger csak a beszúrt/frissített rekorddal törődjön (tehát nem a tábla teljes tartalmára kell frissíteni a dátum oszlopot)! A feladatban készülnöd kell arra is, hogy egyszerre több rekord módosul.</p>
</li>
</ol>
<p>Ellenőrizd a trigger viselkedését különböző esetekre is.</p>
Expand Down Expand Up @@ -1524,8 +1524,8 @@ <h2 id="feladat-2-termek-ajanlott-korhatara-2-imsc-pont">Feladat 2: Termék ajá
</path>
</svg>
</span>
<span title="2023. február 3. 13:12:36">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-02-03T13:12:36+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-02-03</span>
<span title="2023. november 17. 14:22:19">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:22:19+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
4 changes: 2 additions & 2 deletions hu/lecture-notes/architecture/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1929,8 +1929,8 @@ <h2 id="ellenorzo-kerdesek">Ellenőrző kérdések<a class="headerlink" href="#e
</path>
</svg>
</span>
<span title="2023. november 17. 14:14:21">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:14:21+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
<span title="2023. november 17. 14:22:59">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:22:59+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
4 changes: 2 additions & 2 deletions hu/lecture-notes/di/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2243,8 +2243,8 @@ <h3 id="irodalom">Irodalom<a class="headerlink" href="#irodalom" title="Permanen
</path>
</svg>
</span>
<span title="2023. november 17. 14:14:21">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:14:21+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
<span title="2023. november 17. 14:22:59">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:22:59+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
4 changes: 2 additions & 2 deletions hu/lecture-notes/linq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1904,8 +1904,8 @@ <h2 id="tovabbi-informaciok-es-peldak">További információk és példák<a cla
</path>
</svg>
</span>
<span title="2023. november 17. 14:14:21">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:14:21+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
<span title="2023. november 17. 14:22:59">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:22:59+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
4 changes: 2 additions & 2 deletions hu/lecture-notes/mongodb/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2566,8 +2566,8 @@ <h4 id="upsert-beszuras-vagy-modositas"><em>Upsert</em>: beszúrás vagy módos
</path>
</svg>
</span>
<span title="2023. november 17. 14:14:21">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:14:21+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
<span title="2023. november 17. 14:22:59">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:22:59+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
4 changes: 2 additions & 2 deletions hu/lecture-notes/mssql/server-side-programming/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2382,8 +2382,8 @@ <h3 id="instead-of-trigger"><em>Instead of</em> trigger<a class="headerlink" hre
</path>
</svg>
</span>
<span title="2023. november 17. 14:14:21">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:14:21+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
<span title="2023. november 17. 14:22:59">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:22:59+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
4 changes: 2 additions & 2 deletions hu/lecture-notes/mssql/sql/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2040,8 +2040,8 @@ <h3 id="manipulalo-lekerdezesek">Manipuláló lekérdezések<a class="headerlink
</path>
</svg>
</span>
<span title="2023. november 17. 14:14:21">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:14:21+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
<span title="2023. november 17. 14:22:59">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:22:59+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
4 changes: 2 additions & 2 deletions hu/lecture-notes/transactions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2545,8 +2545,8 @@ <h2 id="ellenorzo-kerdesek">Ellenőrző kérdések<a class="headerlink" href="#e
</path>
</svg>
</span>
<span title="2023. november 17. 14:14:22">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:14:22+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
<span title="2023. november 17. 14:23:00">
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-timeago"><span class="timeago" datetime="2023-11-17T14:23:00+01:00" locale="hu"></span></span><span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-iso_date">2023-11-17</span>
</span>
</span>

Expand Down
2 changes: 1 addition & 1 deletion hu/search/search_index.json

Large diffs are not rendered by default.

Binary file modified hu/sitemap.xml.gz
Binary file not shown.

0 comments on commit 4508ccc

Please sign in to comment.