{"id":3877,"date":"2013-08-27T05:53:55","date_gmt":"2013-08-26T19:53:55","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=3877"},"modified":"2020-07-16T08:44:41","modified_gmt":"2020-07-15T22:44:41","slug":"access-stored-procedures-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/access-stored-procedures-primer-tutorial\/","title":{"rendered":"Access Stored Procedures Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Access\/StoredProcedure\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Access Stored Procedures Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Access\/StoredProcedure\/Access_StoredProcedure_Primer-72of.JPG\" title=\"Access Stored Procedures Primer Tutorial\"   \/><\/a><p class=\"wp-caption-text\">Access Stored Procedures Primer Tutorial<\/p><\/div>\n<p>Today&#8217;s tutorial, which builds on previous <a href=\"#aspt\" title='Access Primer Tutorial'>Access Primer Tutorial<\/a>, uses Microsoft Office&#8217;s database application called Access to oversee the results of some SQL code calls to create tables called POINT and CIRCLE used to store information defining a circle, and then it creates two Access &#8220;Stored Procedures&#8221; (in quotes because they are really Stored Queries) in the database to help add circle data with two separate AddPoint then AddCircle Stored Query operations.  The tutorial takes place on a Windows desktop.  Let&#8217;s see below what <a target=_blank title='Stored Procedures information from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Stored_procedure'>Wikipedia<\/a> says about Stored Procedures generally.<\/p>\n<blockquote><p>A stored procedure is a subroutine available to applications that access a relational database system. A stored procedure (sometimes called a proc, sproc, StoPro, StoredProc, sp or SP) is actually stored in the database data dictionary.<\/p>\n<p>Typical use for stored procedures include data validation (integrated into the database) or access control mechanisms. Furthermore, stored procedures can consolidate and centralize logic that was originally implemented in applications. Extensive or complex processing that requires execution of several SQL statements is moved into stored procedures, and all applications call the procedures. One can use nested stored procedures by executing one stored procedure from within another.<\/p>\n<p>Stored procedures are similar to user-defined functions (UDFs). The major difference is that UDFs can be used like any other expression within SQL statements, whereas stored procedures must be invoked using the CALL statement.[1]<\/p><\/blockquote>\n<p>Here is some downloadable Access SQL code which shows the Access SQL commands performed and can be renamed to <a target=_blank title='AddPoint.sql' href='http:\/\/www.rjmprogramming.com.au\/Access\/StoredProcedure\/AddPoint.sql_GETME'>AddPoint.sql<\/a> as required.<\/p>\n<p>Here is some downloadable Access SQL code which shows the Access SQL commands performed and can be renamed to <a target=_blank title='AddCircle.sql' href='http:\/\/www.rjmprogramming.com.au\/Access\/StoredProcedure\/AddCircle.sql_GETME'>AddCircle.sql<\/a> as required.<\/p>\n<p>Please enjoy today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Access\/StoredProcedure\/\" title=\"Access Stored Procedures Primer Tutorial\">tutorial<\/a>.<\/p>\n<hr \/>\n<p id='aspt'>Previous <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Access\/Tutorial\/\" title='Access Primer Tutorial'>Access Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Access\/Tutorial\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Access Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Access\/Tutorial\/Access_Primer-17of.JPG\" title=\"Access Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Access Primer Tutorial<\/p><\/div>\n<p>Welcome to the Access (Database Server) Primer Tutorial.<\/p>\n<blockquote><p>Microsoft Access, also known as Microsoft Office Access, is a database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software-development tools. It is a member of the Microsoft Office suite of applications, included in the Professional and higher editions or sold separately.<\/p>\n<p>Microsoft Access stores data in its own format based on the Access Jet Database Engine. It can also import or link directly to data stored in other applications and databases.[1]<\/p>\n<p>Software developers and data architects can use Microsoft Access to develop application software, and &#8220;power users&#8221; can use it to build software applications. Like other Office applications, Access is supported by Visual Basic for Applications, an object-oriented programming language that can reference a variety of objects including DAO (Data Access Objects), ActiveX Data Objects, and many other ActiveX components. Visual objects used in forms and reports expose their methods and properties in the VBA programming environment, and VBA code modules may declare and call Windows operating-system functions.<\/p><\/blockquote>\n<p>Microsoft Office Access Database Server is an excellent database to use and its integration with other Microsoft Office products makes it a force to be reckoned with.<\/p>\n<p>Doing this tutorial, I was amazed how business friendly it is, and can imagine setting up workable systems in a short space of time.   Love the way it suggested table structures immediately friendly to many working business environments.   Add to this its support for VBA, SQL queries, Macros and Forms, and you can see its power.<\/p>\n<p>In the primer <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/Access\/Tutorial\/'>tutorial<\/a> you can see the Microsoft Office Access program in use, though there are more recent improved versions of this product available.   Want to direct you towards some useful links below.<\/p>\n<p>Link to Access Database Server more information &#8230; <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Microsoft_Access' title='Link to Access Database Server more information'>via Wikipedia, from where quote above came<\/a>.<br \/>\nLink to Access Database Server home &#8230; <a target=_blank href='http:\/\/office.microsoft.com\/en-au\/access' title='Access at Microsoft'>via Microsoft<\/a>.<br \/>\nLink to Microsoft Office home &#8230; <a target=_blank href='http:\/\/office.microsoft.com' title='Microsoft Office'>via Microsoft<\/a>.<br \/>\nLink to Access Database Server jobs done &#8230; <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/Access' title='Examples of use of Access'>Access Database Server jobs done<\/a> &#8230; some of personal experience.<\/p>\n<p>You&#8217;ve Got Personality <a target=_blank title=\"Over and over&#013;I tried to prove my love to you&#013;Over and over&#013;What more can I do&#013;Over and over&#013;My friends say I'm a fool&#013;But over and over&#013;I'll be a fool for you&#013;&#013;`cause you got personality,&#013;Walk, personality&#013;Talk, Personality&#013;Smile, Personality&#013;Charm, personality&#013;Love, personality&#013;And of Cause you've got&#013;A great big heart&#013;So over and over&#013;Oh, I'll be a fool to you&#013;Now over and over&#013;What more can I do&#013;&#013;Over and over&#013;I said that I loved you&#013;Over and over, honey&#013;Now it's the truth&#013;Over and over&#013;They still say I'm a fool&#013;But Over and over&#013;I'll be a fool for you\" href='https:\/\/www.youtube.com\/watch?v=EBiJAxgZFFI'>song<\/a> could become You&#8217;ve Got Accessability <a href='#' title=\"Over and over&#013;I tried to prove my love to you&#013;Over and over&#013;What more can I do&#013;Over and over&#013;My friends say I'm a fool&#013;But over and over&#013;I'll be a fool for you&#013;&#013;`cause you got accessability&#013;Walk, accessability&#013;Talk, Accessability&#013;Smile, Accessability&#013;Charm, accessability&#013;Love, accessability&#013;And of Cause you've got&#013;A great big heart&#013;So over and over&#013;Oh, I'll be a fool to you&#013;Now over and over&#013;What more can I do&#013;&#013;Over and over&#013;I said that I loved you&#013;Over and over, honey&#013;Now it's the truth&#013;Over and over&#013;They still say I'm a fool&#013;But Over and over&#013;I'll be a fool for you\">?<\/a>\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1365' onclick='var dv=document.getElementById(\"d1365\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=47\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1365' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d3877' onclick='var dv=document.getElementById(\"d3877\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=47\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d3877' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s tutorial, which builds on previous Access Primer Tutorial, uses Microsoft Office&#8217;s database application called Access to oversee the results of some SQL code calls to create tables called POINT and CIRCLE used to store information defining a circle, and &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/access-stored-procedures-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,12,37],"tags":[53,58,90,299,783,785,997,1018,1201,1319],"class_list":["post-3877","post","type-post","status-publish","format-standard","hentry","category-database","category-elearning","category-tutorials","tag-access","tag-activex","tag-append-query","tag-database-2","tag-microsoft-access","tag-microsoft-office","tag-programming","tag-query","tag-stored-procedure","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/3877"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=3877"}],"version-history":[{"count":1,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/3877\/revisions"}],"predecessor-version":[{"id":49672,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/3877\/revisions\/49672"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=3877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=3877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=3877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}