<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Online Learning - Procedural SQL (Tri 2 2017/2018) by Lay-Ki Soon</title>
      <link>https://padlet.com/laykisoon/plsql_t220172018</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2017-12-12 09:14:33 UTC</pubDate>
      <lastBuildDate>2017-12-19 08:41:13 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Share your answers here.  Do include your student ID when answering. Thank you.</title>
         <author>laykisoon</author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/215323556</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2017-12-12 09:21:33 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/215323556</guid>
      </item>
      <item>
         <title>1161301503 (Heng Jun Rong)</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216685594</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger?<br>I)Instead of trigger: <br>&nbsp; </strong>&gt;&gt;Used only on views, not base tables. <br>&nbsp; &gt;&gt;Can overcome the problem of insert/update on view if the base table of view have constraint not null attribute.<br>&nbsp;&gt;&gt;Can overcome the problem of/insert/update/delete on view that combine two or more tables.<br><strong>II) Before trigge</strong>r<br>&nbsp; &gt;&gt;Work on base tables, not views.<br>&nbsp; &gt;&gt;Actions in trigger will be performed first before the modification made on base table. <br><br><strong>2. What is(are) the difference(s) between UDF and stored procedure? <br>I)UDF<br></strong>&nbsp; &gt;&gt;Invoked&nbsp; using SELECT command <br>&nbsp; &gt;&gt;Able to return single value, a row, a column or a table. (Single result only)<br>&nbsp; &gt;&gt;must return result.<br>  &gt;&gt;can not perform DML statement<br><strong>II)Stored Procedure</strong><br>&nbsp; &gt;&gt;Invoked using CALL command<br>&nbsp; &gt;&gt;may or may not return result.<br>&nbsp; &gt;&gt;may return multiple values.<br><br><br></div><div>&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-16 14:44:45 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216685594</guid>
      </item>
      <item>
         <title>1151101783 (ONG KYLE)</title>
         <author>officialkyle97</author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216706730</link>
         <description><![CDATA[<div> Answer the following questions: <br>1. What is the difference between instead of trigger and<br>before trigger?<br>INSTEAD OF <br>Can use view as the subject table.<br>The trigger is activated to override the actions(constraints) from the base table.<br>The trigger can also perform additional actions before modifications made on the table. <br><br>BEFORE <br>Not allow to use view as the subject table.<br>Trigger is activated and executed before modifications made on the table.<br><br>2. What is(are) the difference(s) between UDF and stored<br>procedure?<br>UDF<br>Return only one value<br>Can only contain one parameter (input)<br>Able to used in views, stored procedure and other UDFs<br><br>STORED PROCEDURE<br>Return values are optional and can return many values<br>Can contains many parameters (input/output)</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-16 19:21:46 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216706730</guid>
      </item>
      <item>
         <title>Soh Han You 1151100116</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216725800</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger?</strong> <br>&nbsp; &nbsp; Instead of trigger works only on view but not the base table. Before trigger works on base table.<br><strong><br>2. What is(are) the difference(s) between UDF and stored procedure?&nbsp; </strong><br>&nbsp; &nbsp; a) Stored procedure can only called using CALL keyword, whereas UDF can only called from using select, where or having clause.<br>&nbsp; &nbsp; b) Stored proedure accept input, output, and inout type parameters, whereas UDF only accept input type parameters.<br>&nbsp; &nbsp; c)&nbsp; Stored procedure may or may not return values, whereas UDF must return a value.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-17 03:45:00 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216725800</guid>
      </item>
      <item>
         <title>Yap Mew Pin 1151100120</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216738096</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger?</strong> <br>Instead of trigger works on view(without check option) and it effects the source table while before trigger works on source table and can be used to check the format of table before the table get modified.<br><br><strong>2. What is(are) the difference(s) between UDF and stored procedure?&nbsp;<br>- UDF must return value whereas stored procedure may or may not return value.<br>- UDF compiled every time when it is called, while stored procedure only compiles once and can be used whenever it is called.<br>- UDF must work with SELECT statement while stored procedure works with the keyword CALL.</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-17 09:32:27 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216738096</guid>
      </item>
      <item>
         <title>Goh Aik Chun 1151102483</title>
         <author>1151102483</author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216751558</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger?</strong> <br><strong>Instead of trigger</strong> - instead of trigger only works on views but it allow SQL<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;operation (insert, delete, update) on the base table rather than <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;the view itself.<br><strong>Before trigger</strong> - Before trigger works on base table allow SQL operation (insert, <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delete, update) on the base table after trigger fire.<br><br><strong>2. What is(are) the difference(s) between UDF and stored procedure?<br>UDF - </strong>user define function must return a values and cannot call store procedure<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from function.<br><strong>Store procedure</strong> - stored procedure may or may not return values and can call&nbsp;<br>                                function from store procedure.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-17 12:45:15 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216751558</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216760371</link>
         <description><![CDATA[
]]></description>
         <pubDate>2017-12-17 14:31:29 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216760371</guid>
      </item>
      <item>
         <title>Ong Koon Hua 1151102941</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216771086</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger?</strong>&nbsp;<br>INSTEAD OF Trigger is used on views that&nbsp; you can override INSERT, UPDATE, and DELETE operation on view that you create but BEFORE trigger cannot override on a view and it can update or insert an object or table.<br><br><strong>2. What is(are) the difference(s) between UDF and stored procedure?<br>store procedure - i) May or not return values<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ii) Cannot use in join clause<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iii) allow select statement as DML statement such as&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insert,update and delete. &nbsp;<br>UDF - i) Must return values<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ii) Can be used in join clause as result set<br>&nbsp;        iii) will only allow Select statement but DML statement is not allowed.</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-17 16:13:22 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216771086</guid>
      </item>
      <item>
         <title>CHENG CHI QIN 115110278</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216824553</link>
         <description><![CDATA[<div><strong><em>1. What is the difference between instead of trigger and before trigger?</em></strong></div><div><br></div><div>Instead of trigger fires when there is action done on a view. The trigger action will effects the source table. <br>Before trigger fires before an action makes change on source table. Hence some modification or checking action can be applied on the target data.<br><br><strong><em>2. What is(are) the difference(s) between UDF and stored procedure? </em></strong><strong><br></strong>i) UDF can only return one value or one table. Stored procedure can return more than one value (or a table).<br>ii) UDF can only be invoked by SELECT statement. Stored procedure can be invoked by CALL keyword.&nbsp;<br>iii) UDF is compiled whenever it's invoked. Stored procedure only compiles once.<br>iv) UDF must return at least a value. Stored procedure may or may not return value.</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 00:37:47 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216824553</guid>
      </item>
      <item>
         <title>Liew Min Huei 1161303267</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216832318</link>
         <description><![CDATA[<div>1. What is the difference between instead of trigger and before trigger?<br>- the triggered actions for before trigger are activated for each row in the set of affected rows before the trigger event executes.<br>- the triggered actions for instead of trigger are activated for each row in the set of affected rows instead of executing the trigger event.<br><br>2. What is(are) the difference(s) between UDF and stored procedure?<br>- stored procedure can return no value or more than one value while UDF is mandatory to return one value.<br>- stored procedure have input or output parameters for it while UDF can only have input parameters.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 02:36:04 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216832318</guid>
      </item>
      <item>
         <title>Ng Kean Haur 1151202934</title>
         <author>nkh970112</author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216835712</link>
         <description><![CDATA[<div><strong><em>1. What is the difference between instead of trigger and before trigger?<br></em></strong>Instead of trigger execute update, insert or delete once only on view while before trigger able to execute on source table unlimited times.<strong><em><br><br>2. What is(are) the difference(s) between UDF and stored procedure?<br></em></strong>UDF return one and only one value by using select command while stored procedure may return more than one values by using call command.</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 03:21:59 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216835712</guid>
      </item>
      <item>
         <title>Ysfin Tazky Qalbi 1141127068</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216835813</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger?</strong><br>Instead of triggers fire before an insert, update or delete operation. Instead of triggers are useful when you want to modify the changes made by the client before actually posting the update operation. Before trigger, fires before an update or insert. Values that are being updated or inserted can be modified before the database is actually modified. Before triggers can also be used to cause other non-database operations to be activated through user-defined functions.<br><strong>2. What is(are) the difference(s) between UDF and stored procedure? </strong><br>Stored Procedure:&nbsp;<br>-may or not return values<br>-can have DML statements(insert,delete,update)<br>-it can have both input and output parameters<br>UDF:<br>-must return a value<br>-DML statements are not allowed<br>-only input parameters are allowed</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 03:23:35 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216835813</guid>
      </item>
      <item>
         <title>Fatimah Az-Zahra 1161303033</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216836820</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger?</strong><br><strong>INSTEAD OF</strong> trigger fires when performs a DML operation on the view and allows to override functionality. Hence, make the view update-able.<br><strong>BEFORE</strong> trigger fires after modification are done and it can't be use on any type of view.<br><br><strong>2. What is (are) the difference(s) between UDF and stored procedure?<br>UDF : </strong><br>- Only allows SELECT statement and does not allows to use DML statements<br>- Function must return a value<br>- Can be used in join clause as a result set<br><strong>Stored Procedure : </strong><br>- Allows SELECT statement and DML statements as well<br>- May or may not return values<br>- Procedures can't be used in join clause<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 03:38:34 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216836820</guid>
      </item>
      <item>
         <title>Muhammad Adam Fikri 1121115829</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216838891</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger ?</strong><br><strong>INSTEAD OF</strong> triggers occur before an insert,update and delete operation. It is useful when handling with some modification of changes by the client before actually posting the update operation.<br><strong>BEFORE </strong>triggers can be used to update or validate record values before they are saved to the database.They run before any change is made to the database. it can't be use on any type of view.<br><br><strong>2. What is (are) the difference(s) between UDF and stored procedure?</strong><br><strong>UDF</strong><br>-Function must return a value.<br>-It will allow only input parameters, doesn't support output parameters.<br>-Will allow only Select statements, it will not allow us to use DML statements.<br><strong>Store Procedure</strong><br>-Stored Procedure may or not return values.<br>-It can have both input and output parameters.<br>-Can have DML statements such as insert, update and delete.</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 04:10:32 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216838891</guid>
      </item>
      <item>
         <title>Tan Cheng Lynn (1141128350)</title>
         <author>lynnlynn20</author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216839692</link>
         <description><![CDATA[<div>1. What is the difference between instead of trigger and before trigger?<br>Instead of Triggers - works on view and execute only one update, insert, and delete per view&nbsp;<br>Before Triggers - Work on base tables and actions in trigger will be performed first before the modification made&nbsp;<br><br>2. What is(are) the difference(s) between UDF and stored procedure?&nbsp;<br>UDF - return only one value, will allow only Select statements and can be used in join clause as a result set<br>Stored Procedure - may or may not return a value, can have select statements as well as DML statements(insert, update, delete) and&nbsp;can't be used in join clause</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 04:25:48 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216839692</guid>
      </item>
      <item>
         <title>TAI YI LIN (1141128370)</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216840045</link>
         <description><![CDATA[<div>1. What is the difference between instead of trigger and before trigger?<br><br></div><div>Instead of trigger - &nbsp; allows you to override functionality, or implement functionality that otherwise isn't supported. The common place I use it is to create updateable views.&nbsp;<br>BEFORE triggers -&nbsp; are usually used when validation needs to take place before accepting the change. They run before any change is made to the database.</div><div><br>2. What is(are) the difference(s) between UDF and stored procedure?<br><br></div><div>- Procedure can return zero or n values whereas function can return one value<br>  which is mandatory.<br>- Procedures can have input/output parameters for it whereas functions can have<br>&nbsp; only input parameters.<br>- Procedure allows select as well as DML statement in it whereas function allows<br>&nbsp; only select statement in it.<br>- Procedures can not be utilized in a select statement whereas function can be<br>&nbsp; embedded in a select statement.<br>- UDF can be used in the SQL statements anywhere in the<br>&nbsp; WHERE/HAVING/SELECT section where as Stored procedures cannot be.<br>- UDFs that return tables can be treated as another rowset. This can be used in<br>&nbsp; JOINs with other tables.<br>- Inline UDF's can be though of as views that take parameters and can be used in<br>&nbsp; JOINs and other Rowset operations.</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 04:32:13 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216840045</guid>
      </item>
      <item>
         <title>Lim Zhi Qing (1141127871)</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216840101</link>
         <description><![CDATA[<div>1. What is the difference between instead of trigger and<br>before trigger?<br><br>Instead of trigger replaces the data-modification statement and instruct SQL Server to perform an alternative action. It is similar to before trigger in that they are invoked before the data modification takes place, but a true before trigger would perform the trigger action, then perform the requested modification.&nbsp;<br><br>2. What is(are) the difference(s) between UDF and stored<br>procedure?<br><br>i. Stored procedures can accept input, output and input type parameters for it.<br>&nbsp; &nbsp;UDF can accept only input type parameters.<br><br>ii. Stored procdures can create a table but can’t return table.<br>&nbsp; &nbsp; UDF can create, update and delete the table variable. It can return a table.<br><br>iii. In Stored procedures we can use transaction statements. We can’t use in UDF.</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 04:33:24 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216840101</guid>
      </item>
      <item>
         <title>ASILA AJWA(1151104536)</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216841888</link>
         <description><![CDATA[<div>1. What is the difference between instead of trigger and before trigger?<br>Instead of Triggers&nbsp;<br>-Instead of triggers allows you to override functionality, or implement functionality that otherwise isn't supported.&nbsp;<br>-Instead of triggers fire before an insert, update, or delete operation and&nbsp; replace the original operation.<br>-It will often be used to slightly modify the new values being written to a table.<br>-Sometimes necessary to refresh the record image after an update has been performed.<br><br>Before Triggers<br>-Fired before an insert, update, or delete operation.&nbsp;<br>-Instead of triggers are the only triggers allowed to modify the same record that the client application currently has locked, attempts to do so with a BEFORE trigger will result in record locking errors.<br><br>2. What is(are) the difference(s) between UDF and stored procedure?<br>- Procedures can have input/output parameters for it whereas functions can have only input parameters.&nbsp;<br>- Exception can be handled by try-catch block in a procedure whereas try-catch block cannot be used in a function.&nbsp;<br>- Procedures can not be utilized in a select statement whereas function can be embedded in a select statement.&nbsp;</div><div><br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 05:01:38 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216841888</guid>
      </item>
      <item>
         <title>Mohamad Danial b. Abdul Jasheer 1112701647</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216842013</link>
         <description><![CDATA[<div>&nbsp;<br>1. AFTER trigger fires <strong>after</strong> a DML operation. INSTEAD OF trigger fires <strong>instead of</strong> a DML operation.Big difference. INSTEAD OF allows you to override functionality, or implement functionality that otherwise isn't supported. The common place I use it is to create updateable views. Sometimes a view may not be key preserved, but as the designer you may know which base table(s) you want to update so you can do it by writing specific logic to do the update behind the scenes. An alternative is just to write a stored procedure and force the developers to call those procedures instead of performing DML on a view, but DML on views is a nice abstraction, in my opinion, because developers can treat views like tables. That is how relational design is meant to be. <br><br>2.&nbsp; <strong>Stored Procedure<br></strong><br>A Stored Procedure is nothing more than prepared SQL code that you save so you can reuse the code over and over again. So if you think about a query that you write over and over again, instead of having to write that query each time you would save it as a Stored Procedure and then just call the Stored Procedure to execute the SQL code that you saved as part of the Stored Procedure. <br><br>&nbsp;<strong>User Defined Functions<br></strong><br>Like functions in programming languages, SQL Server User Defined Functions are routines that accept parameters, perform an action such as a complex calculation, and returns the result of that action as a value. The return value can either be a single scalar value or a result set.&nbsp;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 05:03:56 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216842013</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216842092</link>
         <description><![CDATA[
]]></description>
         <pubDate>2017-12-18 05:05:25 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216842092</guid>
      </item>
      <item>
         <title>INJAMUL HAQUE SUVON (1141126472)</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216844556</link>
         <description><![CDATA[<div><strong>1. What is the difference between instead of trigger and before trigger ?<br></strong>INSTEAD OF triggers replace the original operation and fire before an insert, update or delete operation. For example, if an INSTEAD OF DELETE trigger exists on a table, when a client deletes a record, the trigger code will fire and then control will return to the client. And BEFORE triggers are to be applied before any changes caused by the actual update of the subject table are applied to the database. It also specifies that the triggered action of the trigger will not cause other triggers to be activated.<br><br>&nbsp;<strong>2. What is (are) the difference(s) between UDF and stored procedure?</strong>&nbsp;<br>UDF must return a value but stored procedure may or may not return values. Stored procedures can't be called from a function (UDF) but stored procedures can call functions. Functions can be called from a SELECT statement. On the other hand, procedures can't be called from SELECT/WHERE/HAVING and so on statements. EXECUTE/EXEC statement can be used to CALL/EXECUTE stored procedure.</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 05:39:26 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216844556</guid>
      </item>
      <item>
         <title>Ling Ngee Yong 1131120330</title>
         <author>ftislandngeeyong</author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216845088</link>
         <description><![CDATA[<div>1)What is the difference between instead of trigger and<br>before trigger?<br><br>Instead of trigger it allow you to override functionality,or implement functionality that otherwise isn't supported,it also fire before an insert,update,or delete operation and replace the original operation.<br><br>Before trigger cannot override a view and it can update and insert an object or table.<br><br>2)What is(are) the difference(s) between UDF and stored<br>procedure?<br><br>UDF:<br><br>-can be used in join clause as result<br>-allow only selected statemend and Not allow to use dml statement<br>-Function must return value<br><br>Stored procedure:<br><br>-procedures can't be used in joinclause.<br>-can have dml statement like insert,update delete.<br>-May or may not return values</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 05:46:02 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216845088</guid>
      </item>
      <item>
         <title>Anik Md Asaduzzaman 1141126470</title>
         <author></author>
         <link>https://padlet.com/laykisoon/plsql_t220172018/wish/216845140</link>
         <description><![CDATA[<div>1. <strong>What is the difference between instead of trigger and before trigger?<br></strong><br><strong>Difference between Instead Of and Before Triggers:</strong><br><em>INSTEAD OF triggers override the standard actions of the triggering statement: an INSERT, UPDATE, or DELETE. An INSTEAD OF trigger can be defined to perform error or value checking on one or more columns, and then perform additional actions before inserting the record.<br>BEFORE triggers are usually used when validation needs to take place before accepting the change. They run before any change is made to the database.</em><br><br>2.<strong> What is(are) the difference(s) between UDF and stored procedure?</strong><br><br><strong>Difference between UDF and Stored Procedure:</strong><br><em>&gt;&gt; UDF must return a value but Stored Procedure may or may not return a value.<br>&gt;&gt; UDF will allow only input parameters, doesn't support output parameters. But Stored Procedure can have both input and output parameters.<br>&gt;&gt; Stored Procedures can't be called from a function but Stored Procedures can call functions.</em></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-12-18 05:47:04 UTC</pubDate>
         <guid>https://padlet.com/laykisoon/plsql_t220172018/wish/216845140</guid>
      </item>
   </channel>
</rss>
