{"id":974,"date":"2023-08-31T11:36:13","date_gmt":"2023-08-31T09:36:13","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=974"},"modified":"2023-08-31T11:38:37","modified_gmt":"2023-08-31T09:38:37","slug":"sql-scalar-functions","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/","title":{"rendered":"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">CEILING, FLOOR, ROUND<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d7\u05d6\u05e8\u05ea \u05d4\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d4\u05e9\u05dc\u05de\u05d9\u05dd \u05d1\u05e6\u05de\u05d5\u05d3 \u05dc\u05e2\u05e8\u05da \u05e2\u05dc\u05d9\u05d5\u05df, \u05ea\u05d7\u05ea\u05d5\u05df \u05d0\u05d5 \u05e2\u05dd \u05e9\u05dc\u05d9\u05d8\u05d4 \u05e2\u05dc \u05d4\u05e1\u05e4\u05e8\u05d4 \u05e9\u05dc\u05e4\u05d9\u05d4 \u05e0\u05e2\u05d2\u05dc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d3\u05d5\u05d2\u05de\u05d4 \u05d6\u05d5 \u05de\u05d7\u05d6\u05d9\u05e8\u05d4 \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d4 UnitPrice \u05de\u05d8\u05d1\u05dc\u05ea Products \u05db\u05d5\u05dc\u05dc \u05de\u05e2&quot;\u05de \u2013 15% \u05db\u05d0\u05e9\u05e8 \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05de\u05e2\u05d5\u05d2\u05dc\u05ea \u05dc\u05de\u05e7\u05d5\u05dd 1 \u05d0\u05d7\u05e8\u05d9 \u05d4\u05e0\u05e7\u05d5\u05d3\u05d4 \u05d4\u05e2\u05e9\u05e8\u05d5\u05e0\u05d9\u05ea .<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT ROUND (UnitPrice*1.155,1) FROM Products\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">String Functions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e4\u05d5\u05e0\u05e6\u05d9\u05d5\u05ea \u05e9\u05e2\u05d5\u05d1\u05d3\u05d5\u05ea \u05e2\u05dc \u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea \u05db\u05de\u05d5 len \u05dc\u05d0\u05d5\u05e8\u05da, rtrim ltrim \u05dc\u05e7\u05d9\u05e6\u05d5\u05e5 \u05e8\u05d5\u05d5\u05d7\u05d9\u05dd \u05dc\u05d1\u05e0\u05d9\u05dd. substring \u05dc\u05e7\u05d1\u05dc\u05ea \u05ea\u05ea\u05d9 \u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05d0\u05d9\u05dc\u05ea\u05d0 \u05d4\u05d6\u05d0\u05ea \u05dc\u05de\u05e9\u05dc \u05ea\u05d7\u05d6\u05d9\u05e8 \u05d0\u05ea \u05d4\u05d0\u05d5\u05e8\u05da \u05e9\u05dc \u05d4\u05de\u05d7\u05e8\u05d5\u05d6\u05ea.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT LEN(\u2018 SQLSERVER\u2019)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d6\u05de\u05df \u05d5\u05ea\u05d0\u05e8\u05d9\u05da<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT DATEDIFF(hh, &#039;2000-01-01&#039;, &#039;2001-01-01&#039;)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d4\u05de\u05e8\u05d4<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05de\u05e8\u05ea \u05d1\u05d9\u05d8\u05d5\u05d9 \u05de\u05e1\u05d5\u05d2 \u05d0\u05d7\u05d3 \u05dc\u05e1\u05d5\u05d2 \u05d0\u05d7\u05e8.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05d1\u05e0\u05d4 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d9\u05ea cast: CAST(expression AS data_type)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05d3\u05d5\u05d2\u05de\u05d0 \u05d4\u05de\u05e8\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05dc\u05de\u05d7\u05e8\u05d5\u05d6\u05ea.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT CAST (GETDATE() AS char(12))\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05d1\u05e0\u05d4 \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d9\u05ea PARSE: PARSE ( string_value AS data_type&nbsp;[ USING culture ]&nbsp;)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05dd\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8\u05ea \u05dc\u05d4\u05de\u05d9\u05e8 \u05ea\u05d0\u05e8\u05d9\u05da \u05d8\u05e7\u05e1\u05d8\u05d5\u05d0\u05dc\u05d9 \u05dc\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05e7\u05e0\u05d9.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT PARSE(&#039;31\/12\/2012&#039; AS DATETIME2 USING &#039;en-GB&#039; )\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">ISNULL<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05de\u05e7\u05d1\u05dc\u05ea \u05e2\u05de\u05d5\u05d3\u05d4 \u05e9\u05d9\u05e9 \u05d1\u05d4 \u05e2\u05e8\u05db\u05d9 Null \u05d5\u05e9\u05de\u05d4 \u05d1\u05d4\u05dd \u05e2\u05e8\u05db\u05d9\u05dd \u05d0\u05d7\u05e8\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT CompanyName, ISNULL(Fax,&#039;Unknown&#039;) AS Fax\nFROM Suppliers\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05ea CASE<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4- Simple Case \u05de\u05d0\u05e4\u05e9\u05e8 \u05d1\u05d3\u05d9\u05e7\u05ea \u05e2\u05e8\u05da \u05e9\u05dc \u05de\u05e9\u05ea\u05e0\u05d4 \u05d1\u05d5\u05d3\u05d3 \u05d5\u05d4\u05e6\u05d2\u05ea \u05e2\u05e8\u05da \u05d0\u05d7\u05e8 \u05d1\u05de\u05e7\u05d5\u05de\u05d5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05d1\u05e0\u05d4:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCASE input_expression \nWHEN when_expression THEN result_expression \n&#x5B;...n] \n&#x5B; ELSE else_result_expression ] \nEND\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d3\u05d5\u05d2\u05de\u05d0<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT CustomerID, \nCASE \nWHEN ShippedDate IS NULL \n    THEN &#039;Call for schedule shipping&#039; \nWHEN DATEDIFF(dd,ShippedDate,RequiredDate) &lt; 0 \n    THEN &#039;Call and apologize&#039; \nELSE &#039;Shipped O.K&#039; \nEND AS &#039;Shipping Status&#039; \nFROM Orders\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u05ea\u05e8\u05d2\u05d5\u05dc \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea &#8211; \u05e9\u05d0\u05dc\u05d5\u05ea<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3 \u05d1\u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05e7\u05d8\u05e0\u05d5\u05ea , \u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05ea\u05d5 \u05d1\u05d0\u05d5\u05ea\u05d9\u05d5\u05ea Employees 1. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea . \u05d2\u05d3\u05d5\u05dc\u05d5\u05ea \u05e2\u05d1\u05d5\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d0\u05e9\u05e8 \u05de\u05e1\u05e4\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3 \u05e9\u05dc\u05d4\u05dd \u05d1\u05d9\u05df 3 \u05dc 5 'a' \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3 , \u05d5\u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05e0\u05d5\u05e1\u05e4\u05ea \u05d0\u05ea \u05de\u05d9\u05e7\u05d5\u05dd \u05d4\u05d0\u05d5\u05ea Employees 2. \u05d0. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05d1\u05ea\u05d5\u05da \u05e9\u05de\u05d5 \u05d1\u05e9\u05dd 'a' \u05d1. \u05d1\u05e6\u05e2 \u05e1\u05d9\u05e0\u05d5\u05df \u05dc\u05e9\u05d0\u05d9\u05dc\u05ea\u05d4 \u05d5\u05d4\u05e6\u05d2 \u05e8\u05e7 \u05d0\u05ea \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d0\u05e9\u05e8 \u05d0\u05d9\u05df \u05dc\u05d4\u05dd \u05d0\u05ea \u05d4\u05d0\u05d5\u05ea \u05d0\u05ea \u05e9\u05dd \u05d4\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4 , \u05d0\u05ea \u05ea\u05d9\u05d0\u05d5\u05e8 \u05d4\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4 Categories 3. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05d1\u05ea\u05d5\u05da \u05ea\u05d9\u05d0\u05d5\u05e8 \u05d4\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4 4 \u05e1\u05e4\u05e8\u05d5\u05ea \u05de\u05ea\u05d7\u05d9\u05dc\u05ea \u05d4\u05de\u05d9\u05dc\u05d4. 'i' \u05d5\u05d0\u05ea \u05de\u05d9\u05e7\u05d5\u05dd \u05d4\u05ea\u05d5 \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3, \u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05ea\u05d5 \u05d5\u05e9\u05dd \u05de\u05e9\u05ea\u05de\u05e9. Employees 4. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05d5\u05e8\u05db\u05d1 \u05de 3 \u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05e8\u05d0\u05e9\u05d5\u05e0\u05d5\u05ea \u05e9\u05dc \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05d9\u05d7\u05d3 )\u05e9\u05e8\u05e9\u05d5\u05e8( \u05e2\u05dd \u05d4\u05d0\u05d5\u05ea \u05d4\u05e8\u05d0\u05e9\u05d5\u05e0\u05d4 \u05e9\u05dc \u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05ea\u05d5 \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05de\u05d5\u05e6\u05e8, \u05e9\u05dd \u05d4\u05de\u05d5\u05e6\u05e8 , Products 5. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05d5\u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05e0\u05d5\u05e1\u05e4\u05ea \u05e9\u05d5\u05d1 \u05d0\u05ea \u05e9\u05dd \u05d4\u05de\u05d5\u05e6\u05e8 \u05db\u05d0\u05e9\u05e8 \u05db\u05dc \u05ea\u05d5 '?' \u05d9\u05d5\u05d7\u05dc\u05e3 \u05d1\u05ea\u05d5 '-' 6. \u05d4\u05e6\u05d2 \u05d0\u05ea \u05d4\u05ea\u05d0\u05e8\u05d9\u05da \u05e9\u05dc \u05d4\u05d9\u05d5\u05dd. \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05dc\u05e7\u05d5\u05d7 , Orders 7. \u05e2&quot;\u05de \u05dc\u05d4\u05e6\u05d9\u05d2 \u05d0\u05ea \u05d4\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05dc\u05d4\u05d5\u05e6\u05d0\u05ea \u05db\u05dc \u05d4\u05d6\u05de\u05e0\u05d4 , \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05d4\u05d6\u05de\u05e0\u05d4, \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d4\u05d6\u05de\u05e0\u05d4 , \u05d5\u05d0\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d4\u05d6\u05de\u05e0\u05d4 \u05e4\u05dc\u05d5\u05e1 45 \u05d9\u05d5\u05dd )\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05d1\u05e6\u05e2 \u05d0\u05ea \u05d4\u05d7\u05d9\u05e9\u05d5\u05d1( . \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3 \u05d5\u05d0\u05ea \u05d2\u05d9\u05dc\u05d5 Employees 8. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea )\u05d4\u05d4\u05e4\u05e8\u05e9 \u05d1\u05e9\u05e0\u05d9\u05dd \u05d1\u05d9\u05df \u05d4\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05e2\u05db\u05e9\u05d5\u05d5\u05d9 \u05d5\u05d1\u05d9\u05df \u05ea\u05d0\u05e8\u05d9\u05da \u05dc\u05d9\u05d3\u05ea\u05d5( \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3, Employees 9. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05d5\u05d0\u05ea \u05d4\u05e9\u05e0\u05d4 \u05d1\u05d4 \u05d4\u05d5\u05d0 ,) sunday, monday &#8230; \u05d0\u05ea \u05d4\u05d9\u05d5\u05dd \u05d1\u05d5 \u05d4\u05ea\u05d7\u05d9\u05dc \u05dc\u05e2\u05d1\u05d5\u05d3 )\u05dc\u05d3\u05d5\u05d2\u05de\u05d0 \u05d4\u05ea\u05d7\u05d9\u05dc \u05dc\u05e2\u05d1\u05d5\u05d3. \u05db\u05e4\u05d5\u05dc 0.12 UnitPrice &#8211; \u05d5 ProductID \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d5\u05ea Products 10 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea \u05d9\u05e9 \u05dc\u05e2\u05d2\u05dc \u05d0\u05ea \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05dc\u05de\u05e1\u05e4\u05e8 \u05e9\u05dc\u05dd )\u05d1\u05e2\u05d9\u05d2\u05d5\u05dc \u05de\u05e9\u05ea\u05e0\u05d4 \u05dc\u05e4\u05d9 \u05d4\u05de\u05e1\u05e4\u05e8(. \u05ea\u05df \u05e9\u05dd \u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e2\u05de\u05d5\u05d3\u05d4. \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3 \u05d5\u05e9\u05dd \u05d4\u05de\u05e9\u05e4\u05d7\u05d4 \u05de\u05e9\u05d5\u05e8\u05e9\u05e8\u05d9\u05dd \u05d9\u05d7\u05d3\u05d9\u05d5 \u05db\u05e9\u05d1\u05d9\u05e0\u05d9\u05d4\u05df \u05e8\u05d5\u05d5\u05d7 )\u05ea\u05df \u05db\u05d9\u05e0\u05d5\u05d9 Employees 11 . \u05d1\u05d7\u05e8 \u05de\u05d8\u05d1\u05dc\u05ea \u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e2\u05de\u05d5\u05d3\u05d4 \u05d6\u05d5(, \u05d5\u05d0\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05dc\u05d9\u05d3\u05d4 \u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05e0\u05e4\u05e8\u05d3\u05ea. \u05d0\u05ea \u05e9\u05de\u05d5\u05ea \u05d4\u05de\u05e9\u05e4\u05d7\u05d4 \u05d1\u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc\u05d5\u05ea \u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05d0\u05d7\u05ea \u05d5\u05d0\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05dc\u05d9\u05d3\u05d4 Employees 12 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea \u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05e9\u05e0\u05d9\u05d9\u05d4, DD\/MM\/YY \u05d1\u05e4\u05d5\u05e8\u05de\u05d8 \u05e9\u05dc .D \u05d0\u05d5 K \u05e2\u05d1\u05d5\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d0\u05e9\u05e8 \u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05ea\u05dd \u05de\u05ea\u05d7\u05d9\u05dc \u05d1\u05d0\u05d5\u05ea .LIKE \u05d1\u05de\u05e7\u05d5\u05dd \u05d4\u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8 WHERE \u05d1\u05ea\u05e0\u05d0\u05d9 \u05d4 SUBSTRING \u05d9\u05e9 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u00a9 SCALAR FUNCTIONS \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3 \u05d1\u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05e7\u05d8\u05e0\u05d5\u05ea , \u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05ea\u05d5 \u05d1\u05d0\u05d5\u05ea\u05d9\u05d5\u05ea Employees 1. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea . \u05d2\u05d3\u05d5\u05dc\u05d5\u05ea \u05e2\u05d1\u05d5\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d0\u05e9\u05e8 \u05de\u05e1\u05e4\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3 \u05e9\u05dc\u05d4\u05dd \u05d1\u05d9\u05df 3 \u05dc 5 'a' \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3 , \u05d5\u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05e0\u05d5\u05e1\u05e4\u05ea \u05d0\u05ea \u05de\u05d9\u05e7\u05d5\u05dd \u05d4\u05d0\u05d5\u05ea Employees 2. \u05d0. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05d1\u05ea\u05d5\u05da \u05e9\u05de\u05d5 \u05d1\u05e9\u05dd 'a' \u05d1. \u05d1\u05e6\u05e2 \u05e1\u05d9\u05e0\u05d5\u05df \u05dc\u05e9\u05d0\u05d9\u05dc\u05ea\u05d4 \u05d5\u05d4\u05e6\u05d2 \u05e8\u05e7 \u05d0\u05ea \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d0\u05e9\u05e8 \u05d0\u05d9\u05df \u05dc\u05d4\u05dd \u05d0\u05ea \u05d4\u05d0\u05d5\u05ea \u05d0\u05ea \u05e9\u05dd \u05d4\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4 , \u05d0\u05ea \u05ea\u05d9\u05d0\u05d5\u05e8 \u05d4\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4 Categories 3. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05d1\u05ea\u05d5\u05da \u05ea\u05d9\u05d0\u05d5\u05e8 \u05d4\u05e7\u05d8\u05d2\u05d5\u05e8\u05d9\u05d4 4 \u05e1\u05e4\u05e8\u05d5\u05ea \u05de\u05ea\u05d7\u05d9\u05dc\u05ea \u05d4\u05de\u05d9\u05dc\u05d4. 'i' \u05d5\u05d0\u05ea \u05de\u05d9\u05e7\u05d5\u05dd \u05d4\u05ea\u05d5 \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3, \u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05ea\u05d5 \u05d5\u05e9\u05dd \u05de\u05e9\u05ea\u05de\u05e9. Employees 4. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05d5\u05e8\u05db\u05d1 \u05de 3 \u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05e8\u05d0\u05e9\u05d5\u05e0\u05d5\u05ea \u05e9\u05dc \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05d9\u05d7\u05d3 )\u05e9\u05e8\u05e9\u05d5\u05e8( \u05e2\u05dd \u05d4\u05d0\u05d5\u05ea \u05d4\u05e8\u05d0\u05e9\u05d5\u05e0\u05d4 \u05e9\u05dc \u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05ea\u05d5 \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05de\u05d5\u05e6\u05e8, \u05e9\u05dd \u05d4\u05de\u05d5\u05e6\u05e8 , Products 5. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05d5\u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05e0\u05d5\u05e1\u05e4\u05ea \u05e9\u05d5\u05d1 \u05d0\u05ea \u05e9\u05dd \u05d4\u05de\u05d5\u05e6\u05e8 \u05db\u05d0\u05e9\u05e8 \u05db\u05dc \u05ea\u05d5 '?' \u05d9\u05d5\u05d7\u05dc\u05e3 \u05d1\u05ea\u05d5 '-' 6. \u05d4\u05e6\u05d2 \u05d0\u05ea \u05d4\u05ea\u05d0\u05e8\u05d9\u05da \u05e9\u05dc \u05d4\u05d9\u05d5\u05dd. \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05dc\u05e7\u05d5\u05d7 , Orders 7. \u05e2&quot;\u05de \u05dc\u05d4\u05e6\u05d9\u05d2 \u05d0\u05ea \u05d4\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05dc\u05d4\u05d5\u05e6\u05d0\u05ea \u05db\u05dc \u05d4\u05d6\u05de\u05e0\u05d4 , \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05d4\u05d6\u05de\u05e0\u05d4, \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d4\u05d6\u05de\u05e0\u05d4 , \u05d5\u05d0\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d4\u05d6\u05de\u05e0\u05d4 \u05e4\u05dc\u05d5\u05e1 45 \u05d9\u05d5\u05dd )\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05e2\u05dc \u05de\u05e0\u05ea \u05dc\u05d1\u05e6\u05e2 \u05d0\u05ea \u05d4\u05d7\u05d9\u05e9\u05d5\u05d1( . \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3 \u05d5\u05d0\u05ea \u05d2\u05d9\u05dc\u05d5 Employees 8. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea )\u05d4\u05d4\u05e4\u05e8\u05e9 \u05d1\u05e9\u05e0\u05d9\u05dd \u05d1\u05d9\u05df \u05d4\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05e2\u05db\u05e9\u05d5\u05d5\u05d9 \u05d5\u05d1\u05d9\u05df \u05ea\u05d0\u05e8\u05d9\u05da \u05dc\u05d9\u05d3\u05ea\u05d5( \u05d0\u05ea \u05e9\u05de\u05d5 \u05d4\u05e4\u05e8\u05d8\u05d9 \u05e9\u05dc \u05d4\u05e2\u05d5\u05d1\u05d3, Employees 9. \u05d4\u05e6\u05d2 \u05de\u05ea\u05d5\u05da \u05d8\u05d1\u05dc\u05ea \u05d5\u05d0\u05ea \u05d4\u05e9\u05e0\u05d4 \u05d1\u05d4 \u05d4\u05d5\u05d0 ,) sunday, monday &#8230; \u05d0\u05ea \u05d4\u05d9\u05d5\u05dd \u05d1\u05d5 \u05d4\u05ea\u05d7\u05d9\u05dc \u05dc\u05e2\u05d1\u05d5\u05d3 )\u05dc\u05d3\u05d5\u05d2\u05de\u05d0 \u05d4\u05ea\u05d7\u05d9\u05dc \u05dc\u05e2\u05d1\u05d5\u05d3. \u05db\u05e4\u05d5\u05dc 0.12 UnitPrice &#8211; \u05d5 ProductID \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d5\u05ea Products 10 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea \u05d9\u05e9 \u05dc\u05e2\u05d2\u05dc \u05d0\u05ea \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05dc\u05de\u05e1\u05e4\u05e8 \u05e9\u05dc\u05dd )\u05d1\u05e2\u05d9\u05d2\u05d5\u05dc \u05de\u05e9\u05ea\u05e0\u05d4 \u05dc\u05e4\u05d9 \u05d4\u05de\u05e1\u05e4\u05e8(. \u05ea\u05df \u05e9\u05dd \u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e2\u05de\u05d5\u05d3\u05d4. \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3 \u05d5\u05e9\u05dd \u05d4\u05de\u05e9\u05e4\u05d7\u05d4 \u05de\u05e9\u05d5\u05e8\u05e9\u05e8\u05d9\u05dd \u05d9\u05d7\u05d3\u05d9\u05d5 \u05db\u05e9\u05d1\u05d9\u05e0\u05d9\u05d4\u05df \u05e8\u05d5\u05d5\u05d7 )\u05ea\u05df \u05db\u05d9\u05e0\u05d5\u05d9 Employees 11 . \u05d1\u05d7\u05e8 \u05de\u05d8\u05d1\u05dc\u05ea \u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e2\u05de\u05d5\u05d3\u05d4 \u05d6\u05d5(, \u05d5\u05d0\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05dc\u05d9\u05d3\u05d4 \u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05e0\u05e4\u05e8\u05d3\u05ea. \u05d0\u05ea \u05e9\u05de\u05d5\u05ea \u05d4\u05de\u05e9\u05e4\u05d7\u05d4 \u05d1\u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc\u05d5\u05ea \u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05d0\u05d7\u05ea \u05d5\u05d0\u05ea \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05dc\u05d9\u05d3\u05d4 Employees 12 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea \u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05e9\u05e0\u05d9\u05d9\u05d4, DD\/MM\/YY \u05d1\u05e4\u05d5\u05e8\u05de\u05d8 \u05e9\u05dc .D \u05d0\u05d5 K \u05e2\u05d1\u05d5\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d0\u05e9\u05e8 \u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05ea\u05dd \u05de\u05ea\u05d7\u05d9\u05dc \u05d1\u05d0\u05d5\u05ea .LIKE \u05d1\u05de\u05e7\u05d5\u05dd \u05d4\u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8 WHERE \u05d1\u05ea\u05e0\u05d0\u05d9 \u05d4 SUBSTRING \u05d9\u05e9 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4 \u05d0\u05ea \u05e9\u05ea\u05d9 \u05d4\u05e2\u05de\u05d5\u05d3\u05d5\u05ea \u05d4\u05d1\u05d0\u05d5\u05ea: products 13 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea \u05de\u05d5\u05e4\u05d9\u05e2\u05d4 \u05d1\u05d9\u05e0\u05d9\u05d4\u05df.\u05ea\u05df \u05d0\u05ea 'AND' \u05de\u05e1\u05e4\u05e8 \u05d4\u05de\u05d5\u05e6\u05e8 \u05d5\u05de\u05e1\u05e4\u05e8 \u05d4\u05e1\u05e4\u05e7 \u05d1\u05d0\u05d5\u05ea\u05d4 \u05d4\u05e2\u05de\u05d5\u05d3\u05d4 \u05db\u05d0\u05e9\u05e8 \u05d4\u05de\u05d9\u05dc\u05d4 ,)data types \u05dc\u05e2\u05de\u05d5\u05d3\u05d4 )\u05e9\u05d9\u05dd \u05dc\u05d1 \u05dc\u05d4\u05ea\u05d0\u05de\u05ea \u05d4 &quot;PRODUCT&quot; \u05d4\u05e9\u05dd \u05db\u05e4\u05d5\u05dc 1.165 \u05db\u05d0\u05e9\u05e8 \u05d9\u05e9 \u05dc\u05e2\u05d2\u05dc \u05d0\u05ea \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05dc\u05de\u05e1\u05e4\u05e8 \u05e9\u05dc\u05dd \u05db\u05dc\u05e4\u05d9 \u05de\u05d8\u05d4. )unitprice( \u05de\u05d7\u05d9\u05e8 \u05dc\u05d9\u05d7\u05d9\u05d3\u05d4 \u05dc\u05e2\u05de\u05d5\u05d3\u05d4 \u05d4\u05de\u05d7\u05d5\u05e9\u05d1\u05ea. &quot;FULL PRICE&quot; \u05ea\u05df \u05d0\u05ea \u05d4\u05e9\u05dd . \u05d9\u05e9 \u05dc\u05d4\u05e6\u05d9\u05d2 \u05e8\u05e7 \u05d0\u05ea \u05d4\u05de\u05d5\u05e6\u05e8\u05d9\u05dd \u05e9\u05de\u05d7\u05d9\u05e8\u05dd \u05d4\u05d7\u05d3\u05e9 \u05d2\u05d3\u05d5\u05dc \u05de- 40 \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d5\u05ea \u05d4\u05d1\u05d0\u05d5\u05ea: employees 14 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea \u05e9\u05dd \u05d4\u05de\u05e9\u05e4\u05d7\u05d4 \u05de\u05e9\u05d5\u05e8\u05e9\u05e8 \u05e2\u05dd \u05d0\u05d5\u05e8\u05da \u05e9\u05dd \u05d4\u05de\u05e9\u05e4\u05d7\u05d4, \u05e9\u05dd \u05e4\u05e8\u05d8\u05d9 \u05de\u05e9\u05d5\u05e8\u05e9\u05e8 \u05e2\u05dd \u05d0\u05d5\u05e8\u05da \u05d4\u05e9\u05dd \u05d4\u05e4\u05e8\u05d8\u05d9 . \u05d9\u05e9 \u05dc\u05ea\u05ea \u05dc\u05db\u05dc \u05e2\u05de\u05d5\u05d3\u05d4 \u05d1\u05ea\u05e6\u05d5\u05d2\u05d4 \u05db\u05d9\u05e0\u05d5\u05d9 \u05de\u05ea\u05d0\u05d9\u05dd. \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d5\u05ea \u05d4\u05d1\u05d0\u05d5\u05ea: employees 15 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea \u05e9\u05dd \u05d4\u05de\u05e9\u05e4\u05d7\u05d4, \u05e9\u05dd \u05d4\u05de\u05e9\u05e4\u05d7\u05d4 \u05de\u05d4\u05e1\u05d5\u05e3 \u05dc\u05d4\u05ea\u05d7\u05dc\u05d4 )\u05ea\u05df \u05db\u05d9\u05e0\u05d5\u05d9 \u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e2\u05de\u05d5\u05d3\u05d4(. .)ReportsTo \u05d4\u05e6\u05d2 \u05d0\u05ea \u05d4\u05e0\u05ea\u05d5\u05e0\u05d9\u05dd \u05e8\u05e7 \u05e2\u05d1\u05d5\u05e8 \u05d4\u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05d0\u05e9\u05e8 \u05d9\u05e9 \u05dc\u05d4\u05dd \u05de\u05e0\u05d4\u05dc )\u05e2\u05dc \u05e4\u05d9 \u05e2\u05de\u05d5\u05d3\u05ea \u05d0\u05ea \u05de\u05e1\u05e4\u05e8 \u05d4\u05d4\u05d6\u05de\u05e0\u05d4, \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d4\u05d6\u05de\u05e0\u05d4 \u05d5\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d3\u05e8\u05d9\u05e9\u05d4 \u05e2\u05d1\u05d5\u05e8 \u05db\u05dc \u05d4\u05d4\u05d6\u05de\u05e0\u05d5\u05ea \u05d0\u05e9\u05e8 Orders 16 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea . \u05e9\u05d5\u05d5\u05d4 \u05dc &#8211; 1 )RequiredDate( \u05dc\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d3\u05e8\u05d9\u05e9\u05d4 )OrderDate( \u05de\u05e1\u05e4\u05e8 \u05d4\u05e8\u05d1\u05e2\u05d5\u05e0\u05d9\u05dd \u05d1\u05d9\u05df \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05d4\u05d6\u05de\u05e0\u05d4 \u05e2\u05d1\u05d5\u05e8 \u05db\u05dc )CompanyName( 17 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea \u05d4\u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05d0\u05ea \u05d0\u05e8\u05d1\u05e2\u05ea \u05d4\u05d0\u05d5\u05ea\u05d9\u05d5\u05ea \u05d4\u05e8\u05d0\u05e9\u05d5\u05e0\u05d5\u05ea \u05e9\u05dc \u05e9\u05dd \u05d4\u05d7\u05d1\u05e8\u05d4 .'a' \u05e9\u05dc\u05d4\u05dd \u05de\u05ea\u05d7\u05d9\u05dc \u05d1\u05d0\u05d5\u05ea CompanyName \u05d4\u05dc\u05e7\u05d5\u05d7\u05d5\u05ea \u05e9\u05d4 \u05e9\u05d0\u05dc\u05ea \u05d0\u05ea\u05d2\u05e8 \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d5\u05ea \u05d4\u05d1\u05d0\u05d5\u05ea: Employees 18 . \u05d4\u05e6\u05d2 \u05de\u05d8\u05d1\u05dc\u05ea<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u05e9\u05dd \u05de\u05e9\u05e4\u05d7\u05d4 \u05de\u05e9\u05d5\u05e8\u05e9\u05e8 \u05e2\u05dd \u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05dc\u05d9\u05d3\u05d4<\/li>\n\n\n\n<li>\u05ea\u05d0\u05e8\u05d9\u05da \u05ea\u05d7\u05d9\u05dc\u05ea \u05e2\u05d1\u05d5\u05d3\u05d4 \u05d1\u05e4\u05d5\u05e8\u05de\u05d8 104 'No \u05dc\u05d4\u05e6\u05d9\u05d2 \u05d0\u05ea \u05d4\u05de\u05d7\u05e8\u05d5\u05d6\u05ea NULL \u05d1\u05de\u05d9\u05d3\u05d4 \u05d5\u05d1\u05e2\u05de\u05d5\u05d3\u05d4 \u05d6\u05d5 \u05de\u05d5\u05e4\u05d9\u05e2 ,)ReportsTo( &#8211; \u05e7\u05d5\u05d3 \u05d4\u05de\u05e0\u05d4\u05dc Manager' \u05d9\u05e9 \u05dc\u05db\u05dc\u05d5\u05dc \u05d1\u05ea\u05d5\u05e6\u05d0\u05d5\u05ea \u05e8\u05e7 \u05e2\u05d5\u05d1\u05d3\u05d9\u05dd \u05e9\u05e9\u05dd \u05d4\u05de\u05e9\u05e4\u05d7\u05d4 \u05e9\u05dc\u05d4\u05dd \u05d0\u05e8\u05d5\u05da \u05d0\u05d5 \u05e9\u05d5\u05d5\u05d4 \u05dc\u05e9\u05de\u05dd \u05d4\u05e4\u05e8\u05d8\u05d9<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u05ea\u05e8\u05d2\u05d5\u05dc \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea &#8211; \u05ea\u05e9\u05d5\u05d1\u05d5\u05ea<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\n-- ex1\nselect \n    lower (FirstName),\n    upper (LastName)\nfrom Employees\nwhere EmployeeID Between 3 and 5\n\n-- ex2\nselect\n    FirstName,\n    CHARINDEX (&#039;a&#039;, FirstName) as &#x5B;indexOfA]\nfrom Employees\n\n-- ex3\nselect\n    CategoryName,\n    &#x5B;Description],\n    CHARINDEX (&#039;i&#039;, &#x5B;Description], 4) as &#x5B;indexOfi]\nfrom Categories\n\n-- ex4\nselect\n    FirstName,\n    LastName,\n    SUBSTRING (FirstName, 1, 3) + SUBSTRING (LastName, 1, 1) \n  as UserName\nfrom Employees\n\n-- ex5\nselect\n    ProductID,\n    ProductName,\n    REPLACE (ProductName, &#039;?&#039;, &#039;-&#039;) as Replaced\nfrom Products\n\n-- ex6\nselect GETDATE() as today\n\n-- ex7\nselect \n    CustomerID,\n    OrderID,\n    OrderDate,\n    DATEADD (d, 45, OrderDate) as SupplyDate\nfrom Orders\n\n-- ex8\nselect\n    FirstName,\n    DATEPART(yy, BirthDate) as BirthYear,\n    DATEDIFF (yy, BirthDate, GETDATE()) as Age\nfrom Employees\n\n-- ex9\nselect\n    FirstName,\n    DATENAME (WEEKDAY, HireDate) as HireDay,\n    DATENAME (Year, HireDate) as HireYear\nfrom Employees\n\n-- ex10\nselect\n    ProductID,\n    ROUND (UnitPrice * 0.12, 0) as RoundedPrice\nfrom Products\n\n-- ex11\nselect\n    Cast (EmployeeID AS varchar) + &#039; &#039; + LastName \n    as EmploeeDetails,\n    BirthDate\nfrom Employees\n\n-- ex12\nselect\n    upper (LastName),\n    LastName,\n    format (birthdate, &#039;dd\/MM\/yy&#039;) as BirthDateFormat\nfrom Employees\nwhere SUBSTRING (LastName, 1, 1) = &#039;K&#039; or SUBSTRING (LastName, 1, 1) = &#039;D&#039;\n\n-- ex13\nselect\n    Cast (ProductID AS varchar) + &#039; AND &#039; + Cast (SupplierID AS varchar) \n        as PRODUCT,\n    FLOOR (unitprice*1.165) as &#x5B;FULL PRICE]\nfrom products\nwhere FLOOR (unitprice*1.165) &gt; 40\n\n-- ex14\nselect\n    LastName + &#039; &#039; + cast (LEN (LastName) AS varchar) as LastNameLen,\n    FirstName + &#039; &#039; + cast (LEN (FirstName) AS varchar) as FirstNameLen\nfrom employees\n\n-- ex15\nselect\n    LastName,\n    REVERSE (LastName) as LastNameRev\nfrom employees\nwhere ReportsTo is not null\n\n-- ex16\nselect\n    OrderID,\n    OrderDate,\n    RequiredDate\nfrom Orders\nwhere DATEDIFF (q, OrderDate, RequiredDate) = 1\n\n-- ex17\nselect\n    SUBSTRING (CompanyName, 1, 4) as CompanyName\nfrom Customers\nwhere SUBSTRING (CompanyName, 1, 1) = &#039;a&#039;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>CEILING, FLOOR, ROUND \u05d4\u05d7\u05d6\u05e8\u05ea \u05d4\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d4\u05e9\u05dc\u05de\u05d9\u05dd \u05d1\u05e6\u05de\u05d5\u05d3 \u05dc\u05e2\u05e8\u05da \u05e2\u05dc\u05d9\u05d5\u05df, \u05ea\u05d7\u05ea\u05d5\u05df \u05d0\u05d5 \u05e2\u05dd \u05e9\u05dc\u05d9\u05d8\u05d4 \u05e2\u05dc \u05d4\u05e1\u05e4\u05e8\u05d4 \u05e9\u05dc\u05e4\u05d9\u05d4 \u05e0\u05e2\u05d2\u05dc. \u05d3\u05d5\u05d2\u05de\u05d4 \u05d6\u05d5 \u05de\u05d7\u05d6\u05d9\u05e8\u05d4 \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d4 UnitPrice \u05de\u05d8\u05d1\u05dc\u05ea Products \u05db\u05d5\u05dc\u05dc \u05de\u05e2&quot;\u05de \u2013 15% \u05db\u05d0\u05e9\u05e8 \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05de\u05e2\u05d5\u05d2\u05dc\u05ea \u05dc\u05de\u05e7\u05d5\u05dd 1 \u05d0\u05d7\u05e8\u05d9 \u05d4\u05e0\u05e7\u05d5\u05d3\u05d4 \u05d4\u05e2\u05e9\u05e8\u05d5\u05e0\u05d9\u05ea . String Functions \u05e4\u05d5\u05e0\u05e6\u05d9\u05d5\u05ea \u05e9\u05e2\u05d5\u05d1\u05d3\u05d5\u05ea \u05e2\u05dc \u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea \u05db\u05de\u05d5 len \u05dc\u05d0\u05d5\u05e8\u05da, rtrim ltrim \u05dc\u05e7\u05d9\u05e6\u05d5\u05e5 \u05e8\u05d5\u05d5\u05d7\u05d9\u05dd \u05dc\u05d1\u05e0\u05d9\u05dd. substring \u05dc\u05e7\u05d1\u05dc\u05ea \u05ea\u05ea\u05d9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[25],"tags":[],"class_list":["post-974","post","type-post","status-publish","format-standard","hentry","category-sql","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea - Code Notebook<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"CEILING, FLOOR, ROUND \u05d4\u05d7\u05d6\u05e8\u05ea \u05d4\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d4\u05e9\u05dc\u05de\u05d9\u05dd \u05d1\u05e6\u05de\u05d5\u05d3 \u05dc\u05e2\u05e8\u05da \u05e2\u05dc\u05d9\u05d5\u05df, \u05ea\u05d7\u05ea\u05d5\u05df \u05d0\u05d5 \u05e2\u05dd \u05e9\u05dc\u05d9\u05d8\u05d4 \u05e2\u05dc \u05d4\u05e1\u05e4\u05e8\u05d4 \u05e9\u05dc\u05e4\u05d9\u05d4 \u05e0\u05e2\u05d2\u05dc. \u05d3\u05d5\u05d2\u05de\u05d4 \u05d6\u05d5 \u05de\u05d7\u05d6\u05d9\u05e8\u05d4 \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d4 UnitPrice \u05de\u05d8\u05d1\u05dc\u05ea Products \u05db\u05d5\u05dc\u05dc \u05de\u05e2&quot;\u05de \u2013 15% \u05db\u05d0\u05e9\u05e8 \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05de\u05e2\u05d5\u05d2\u05dc\u05ea \u05dc\u05de\u05e7\u05d5\u05dd 1 \u05d0\u05d7\u05e8\u05d9 \u05d4\u05e0\u05e7\u05d5\u05d3\u05d4 \u05d4\u05e2\u05e9\u05e8\u05d5\u05e0\u05d9\u05ea . String Functions \u05e4\u05d5\u05e0\u05e6\u05d9\u05d5\u05ea \u05e9\u05e2\u05d5\u05d1\u05d3\u05d5\u05ea \u05e2\u05dc \u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea \u05db\u05de\u05d5 len \u05dc\u05d0\u05d5\u05e8\u05da, rtrim ltrim \u05dc\u05e7\u05d9\u05e6\u05d5\u05e5 \u05e8\u05d5\u05d5\u05d7\u05d9\u05dd \u05dc\u05d1\u05e0\u05d9\u05dd. substring \u05dc\u05e7\u05d1\u05dc\u05ea \u05ea\u05ea\u05d9 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-31T09:36:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-31T09:38:37+00:00\" \/>\n<meta name=\"author\" content=\"kerendanino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3\" \/>\n\t<meta name=\"twitter:data1\" content=\"kerendanino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u05d3\u05e7\u05d5\u05ea\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea\",\"datePublished\":\"2023-08-31T09:36:13+00:00\",\"dateModified\":\"2023-08-31T09:38:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/\"},\"wordCount\":119,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"articleSection\":[\"SQL\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/\",\"name\":\"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"datePublished\":\"2023-08-31T09:36:13+00:00\",\"dateModified\":\"2023-08-31T09:38:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/sql-scalar-functions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"name\":\"Code Notebook\",\"description\":\"Easy coding\",\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"he-IL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\",\"name\":\"Code Notebook\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"width\":3626,\"height\":1942,\"caption\":\"Code Notebook\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\",\"name\":\"kerendanino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"caption\":\"kerendanino\"},\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/author\\\/kerendanino\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea - Code Notebook","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/","og_locale":"he_IL","og_type":"article","og_title":"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea - Code Notebook","og_description":"CEILING, FLOOR, ROUND \u05d4\u05d7\u05d6\u05e8\u05ea \u05d4\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d4\u05e9\u05dc\u05de\u05d9\u05dd \u05d1\u05e6\u05de\u05d5\u05d3 \u05dc\u05e2\u05e8\u05da \u05e2\u05dc\u05d9\u05d5\u05df, \u05ea\u05d7\u05ea\u05d5\u05df \u05d0\u05d5 \u05e2\u05dd \u05e9\u05dc\u05d9\u05d8\u05d4 \u05e2\u05dc \u05d4\u05e1\u05e4\u05e8\u05d4 \u05e9\u05dc\u05e4\u05d9\u05d4 \u05e0\u05e2\u05d2\u05dc. \u05d3\u05d5\u05d2\u05de\u05d4 \u05d6\u05d5 \u05de\u05d7\u05d6\u05d9\u05e8\u05d4 \u05d0\u05ea \u05d4\u05e2\u05de\u05d5\u05d3\u05d4 UnitPrice \u05de\u05d8\u05d1\u05dc\u05ea Products \u05db\u05d5\u05dc\u05dc \u05de\u05e2&quot;\u05de \u2013 15% \u05db\u05d0\u05e9\u05e8 \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05de\u05e2\u05d5\u05d2\u05dc\u05ea \u05dc\u05de\u05e7\u05d5\u05dd 1 \u05d0\u05d7\u05e8\u05d9 \u05d4\u05e0\u05e7\u05d5\u05d3\u05d4 \u05d4\u05e2\u05e9\u05e8\u05d5\u05e0\u05d9\u05ea . String Functions \u05e4\u05d5\u05e0\u05e6\u05d9\u05d5\u05ea \u05e9\u05e2\u05d5\u05d1\u05d3\u05d5\u05ea \u05e2\u05dc \u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea \u05db\u05de\u05d5 len \u05dc\u05d0\u05d5\u05e8\u05da, rtrim ltrim \u05dc\u05e7\u05d9\u05e6\u05d5\u05e5 \u05e8\u05d5\u05d5\u05d7\u05d9\u05dd \u05dc\u05d1\u05e0\u05d9\u05dd. substring \u05dc\u05e7\u05d1\u05dc\u05ea \u05ea\u05ea\u05d9 [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/","og_site_name":"Code Notebook","article_published_time":"2023-08-31T09:36:13+00:00","article_modified_time":"2023-08-31T09:38:37+00:00","author":"kerendanino","twitter_card":"summary_large_image","twitter_misc":{"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3":"kerendanino","\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da":"6 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea","datePublished":"2023-08-31T09:36:13+00:00","dateModified":"2023-08-31T09:38:37+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/"},"wordCount":119,"commentCount":0,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"articleSection":["SQL"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/","url":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/","name":"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"datePublished":"2023-08-31T09:36:13+00:00","dateModified":"2023-08-31T09:38:37+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/sql-scalar-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05e1\u05e7\u05dc\u05e8\u05d9\u05d5\u05ea"}]},{"@type":"WebSite","@id":"https:\/\/epicmarketing.co.il\/notebook\/#website","url":"https:\/\/epicmarketing.co.il\/notebook\/","name":"Code Notebook","description":"Easy coding","publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/epicmarketing.co.il\/notebook\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"he-IL"},{"@type":"Organization","@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization","name":"Code Notebook","url":"https:\/\/epicmarketing.co.il\/notebook\/","logo":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","width":3626,"height":1942,"caption":"Code Notebook"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c","name":"kerendanino","image":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","caption":"kerendanino"},"url":"https:\/\/epicmarketing.co.il\/notebook\/author\/kerendanino\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/comments?post=974"}],"version-history":[{"count":2,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/974\/revisions"}],"predecessor-version":[{"id":976,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/974\/revisions\/976"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}