<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-422253148256379539</atom:id><lastBuildDate>Wed, 21 Feb 2024 02:42:06 +0000</lastBuildDate><category>PL / SQL</category><category>Sql Server</category><category>Oracle</category><category>JQuery Mobile</category><category>D2K</category><category>Pivot</category><category>XML</category><title>Databsae Knowledge - ORACLE and SQL Server</title><description>Database management systems (DBMSs) are specially designed applications that interact with the user, other applications, and the database itself to capture and analyze data. A general-purpose database management system (DBMS) is a software system designed to allow the definition, creation, querying, update, and administration of databases. Well-known DBMSs include MySQL, Microsoft SQL Server, Microsoft Access, Oracle, SAP</description><link>https://mysqlcodes.blogspot.com/</link><managingEditor>noreply@blogger.com (Kiran Upadhyay)</managingEditor><generator>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle>Database management systems (DBMSs) are specially designed applications that interact with the user, other applications, and the database itself to capture and analyze data. A general-purpose database management system (DBMS) is a software system designed</itunes:subtitle><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-2091002293853467189</guid><pubDate>Wed, 11 Mar 2015 07:41:00 +0000</pubDate><atom:updated>2015-03-11T00:44:57.039-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>Get All Table Rows and Table Size in SQL Server </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
SELECT t.NAME AS TableName,s.Name AS SchemaName,p.rows AS RowCounts,SUM(a.total_pages) * 8 AS TotalSpaceKB,SUM(a.used_pages) * 8 AS UsedSpaceKB,&lt;br /&gt;
(SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB&lt;br /&gt;
FROM sys.tables t INNER JOIN sys.indexes i ON t.OBJECT_ID = i.object_id&lt;br /&gt;
INNER JOIN sys.partitions p ON i.object_id = p.OBJECT_ID AND i.index_id = p.index_id&lt;br /&gt;
INNER JOIN sys.allocation_units a ON p.partition_id = a.container_id&lt;br /&gt;
LEFT OUTER JOIN sys.schemas s ON t.schema_id = s.schema_id&lt;br /&gt;
WHERE t.NAME NOT LIKE 'dt%' AND t.is_ms_shipped = 0 AND i.OBJECT_ID &amp;gt; 255&lt;br /&gt;
GROUP BY t.Name, s.Name, p.Rows&lt;br /&gt;
ORDER BY RowCounts desc&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2015/03/get-all-table-rows-and-table-size-in.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-6345924214443431650</guid><pubDate>Sun, 26 Oct 2014 08:46:00 +0000</pubDate><atom:updated>2015-01-07T04:33:36.600-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>SQL Server - Difference between clustered and a non-clustered index</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b&gt;What are the difference between clustered and a non-clustered index?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;1).&lt;/b&gt; A clustered index is a special type of index that reorders the way records in the table are physically stored. Therefore table can have only one clustered index. The leaf nodes of a clustered index contain the data pages.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2).&lt;/b&gt; A non clustered index is a special type of index in which the logical order of the index does not match the physical stored order of the rows on disk. The leaf node of a non clustered index does not consist of the data pages. Instead, the leaf nodes contain index rows.&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2014/10/sql-server-difference-between-clustered.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-925808293178452457</guid><pubDate>Mon, 09 Dec 2013 10:52:00 +0000</pubDate><atom:updated>2013-12-14T01:13:10.421-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">D2K</category><category domain="http://www.blogger.com/atom/ns#">XML</category><title>Read XML into SQL Database</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Declare @xml XML&lt;br /&gt;
set @xml = (select cast(c1 as xml) from OPENROWSET (BULK 'XMLpath.xml',SINGLE_BLOB) as T1(c1))&lt;br /&gt;
insert into TableName (Col1,Col2,Col3)&lt;br /&gt;
SELECT A.Column1,A.Column2,A.Column3&amp;nbsp;FROM&lt;br /&gt;
(SELECT &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tbl.Col.value('@XmlTag', 'varchar(200)') as Col1, &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tbl.Col.value('@XmlTag', 'datetime') &amp;nbsp;as&amp;nbsp;Col2,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tbl.Col.value('@XmlTag', 'varchar(2000)') &amp;nbsp;as Col3&lt;br /&gt;
FROM &amp;nbsp; @xml.nodes('//XMLNode') Tbl(Col) ) &amp;nbsp;A&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/12/read-xml-into-sql-database.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-8068779320471171322</guid><pubDate>Fri, 25 Oct 2013 07:04:00 +0000</pubDate><atom:updated>2013-10-25T00:04:03.407-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">JQuery Mobile</category><title>jQuery Mobile 1.4.0</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b&gt;The jQuery Mobile team is excited to announce the first release candidate for 1.4.0.&lt;/b&gt;
 For this new version of the jQuery Mobile framework we focused on 
performance improvements, reviewing widgets as well as a new default 
theme and SVG icons. Some of the new features in 1.4 are a flip switch 
widget, a generic filter widget named “filterable”, popups with arrows, 
tooltips for sliders and we integrated the tabs widget from jQuery UI.&lt;br /&gt;
See the changelog below for the key changes, and have a look at the &lt;a href="http://jquerymobile.com/blog/2013/09/24/announcing-jquery-mobile-1-4-beta/" title="Announcing jQuery Mobile 1.4.0 Beta"&gt;jQuery Mobile 1.4.0 Beta 1 announcement&lt;/a&gt; to find out about all highlights of this new version of jQuery Mobile.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://view.jquerymobile.com/1.4.0-rc.1/dist/demos/"&gt;Demos&lt;/a&gt; | &lt;a href="http://jquerymobile.com/blog/2013/10/24/jquery-mobile-1-4-0-rc1-released/#features"&gt;Key changes&lt;/a&gt; | &lt;a href="http://jquerymobile.com/blog/2013/10/24/jquery-mobile-1-4-0-rc1-released/#download"&gt;Download &amp;amp; CDN&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://jquerymobile.com/blog/2013/10/24/jquery-mobile-1-4-0-rc1-released/"&gt;Read More &lt;/a&gt;&amp;nbsp;
&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/10/jquery-mobile-140.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-4108662301012811327</guid><pubDate>Sun, 20 Oct 2013 10:11:00 +0000</pubDate><atom:updated>2013-10-20T03:11:14.556-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>Difference between WHERE clause and HAVING clause</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
WHERE and HAVING both filters out records based on one or more conditions.&lt;br /&gt;
&lt;br /&gt;
The difference is,&lt;br /&gt;
&lt;br /&gt;
WHERE clause can only be applied on a static non-aggregated column whereas we will need to use HAVING for aggregated columns.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;To understand this, consider this example.&amp;nbsp;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
Suppose we want to see only those departments where department ID is greater than 3. There is no aggregation operation and the condition needs to be applied on a static field. We will use WHERE clause here:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;SELECT * FROM DEPT WHERE ID &amp;gt; 3&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Next, suppose we want to see only those Departments where Average salary is greater than 80. Here the condition is associated with a non-static aggregated information which is “average of salary”. We will need to use HAVING clause here:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;SELECT dept.name DEPARTMENT, avg(emp.sal) AVG_SAL&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;FROM DEPT dept, EMPLOYEE emp&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;WHERE dept.id = emp.dept_id (+)&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;GROUP BY dept.name&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;HAVING AVG(emp.sal) &amp;gt; 80&lt;/i&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/10/difference-between-where-clause-and.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-2693396512064134699</guid><pubDate>Sun, 20 Oct 2013 10:09:00 +0000</pubDate><atom:updated>2013-10-20T03:09:05.048-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>What is the difference between inner and outer join?.</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;h2 style="text-align: left;"&gt;
&lt;b&gt;Inner Join&lt;/b&gt;&lt;/h2&gt;
Inner join is the most common type of Join which is used to combine the rows from two tables and create a result set containing only such records that are present in both the tables based on the joining condition&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;SELECT dept.name DEPARTMENT, emp.name EMPLOYEE&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;FROM DEPT dept, EMPLOYEE emp&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;WHERE emp.dept_id = dept.id&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
&lt;b&gt;Outer Join&lt;/b&gt;&lt;/h2&gt;
Outer Join, on the other hand, will return matching rows from both tables as well as any unmatched rows from one or both the tables (based on whether it is single outer or full outer join respectively).&lt;br /&gt;
&lt;br /&gt;
Notice in our record set that there is no employee in the department 5 (Logistics). Because of this if we perform inner join, then Department 5 does not appear in the above result. However in the below query we perform an outer join (dept left outer join emp), and we can see this department.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;SELECT dept.name DEPARTMENT, emp.name EMPLOYEE&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;FROM DEPT dept, EMPLOYEE emp&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;WHERE dept.id = emp.dept_id (+)&lt;/i&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/10/what-is-difference-between-inner-and.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-1296904987677050826</guid><pubDate>Sun, 29 Sep 2013 07:54:00 +0000</pubDate><atom:updated>2013-09-29T00:54:37.044-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Pivot</category><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>Pivot In SQL Query</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
We use pivot queries when we need to transform data from row-level to columnar data.&lt;br /&gt;
&lt;br /&gt;
Pivot query help us to generate an interactive table that quickly combines and compares large amounts of data. We can rotate its rows and columns to see different summaries of the source data, and we can display the details for areas of interest at a glance. It also help us to generate Multidimensional reporting.&lt;br /&gt;
&lt;br /&gt;
SELECT *&lt;br /&gt;
FROM (&lt;br /&gt;
&amp;nbsp; &amp;nbsp; SELECT&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; year(invoiceDate) as [year],left(datename(month,invoicedate),3)as [month],&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InvoiceAmount as Amount&lt;br /&gt;
&amp;nbsp; &amp;nbsp; FROM Invoice&lt;br /&gt;
) as s&lt;br /&gt;
PIVOT&lt;br /&gt;
(&lt;br /&gt;
&amp;nbsp; &amp;nbsp; SUM(Amount)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; FOR [month] IN (jan, feb, mar, apr,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; may, jun, jul, aug, sep, oct, nov, dec)&lt;br /&gt;
)AS pivot&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/09/pivot-in-sql-query.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-4590602774682671601</guid><pubDate>Mon, 16 Sep 2013 13:53:00 +0000</pubDate><atom:updated>2013-09-28T23:30:29.817-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>SQL Wildcards</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;h1 style="margin-top: 0px;"&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif; font-size: small;"&gt;&lt;span style="font-weight: normal;"&gt;A wildcard character can be used to substitute for any other character(s) in a string.&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h1 style="font-family: verdana, helvetica, arial, sans-serif; font-weight: normal; margin-top: 0px;"&gt;
&lt;span style="font-size: small;"&gt;Using the SQL % Wildcard&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;div style="font-family: verdana, helvetica, arial, sans-serif; font-size: 12px; line-height: 16px;"&gt;
The following SQL statement selects all customers with a City starting with "ber":&lt;/div&gt;
&lt;div style="font-family: verdana, helvetica, arial, sans-serif; font-size: 12px; line-height: 16px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: courier new; font-size: x-small;"&gt;SELECT * FROM table_Name&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: courier new; font-size: x-small;"&gt;WHERE column_Name LIKE 'ber%';&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: verdana, helvetica, arial, sans-serif; font-size: 12px; line-height: 16px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="font-family: verdana, helvetica, arial, sans-serif; font-size: 12px; line-height: 16px;"&gt;
&lt;span style="background-color: white; font-family: 'courier new'; font-size: 13px; line-height: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style="font-family: verdana, helvetica, arial, sans-serif; margin-bottom: 10px; margin-top: 10px;"&gt;
&lt;span style="font-size: small;"&gt;Using the SQL _ Wildcard&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-size: small;"&gt;The following SQL statement selects all customers with a City starting with any character, followed by "erlin":&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: courier new; font-size: x-small;"&gt;SELECT * FROM table_Name&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: courier new; font-size: x-small;"&gt;WHERE column_Name LIKE '_erlin';&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="background-color: white; font-family: 'courier new'; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 style="font-family: verdana, helvetica, arial, sans-serif; margin-bottom: 10px; margin-top: 10px;"&gt;
&lt;span style="font-size: small;"&gt;Using the SQL [charlist] Wildcard&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;The following SQL statement selects all customers with a City starting with "b", "s", or "p":&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;SELECT * FROM table_Name&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;WHERE column_Name LIKE '[bsp]%';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;The following SQL statement selects all customers with a City starting with "a", "b", or "c":&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;SELECT * FROM table_Name&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;WHERE column_Name LIKE '[a-c]%';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;The following SQL statement selects all customers with a City NOT starting with "b", "s", or "p":&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;SELECT * FROM table_Name&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: verdana, helvetica, arial, sans-serif;"&gt;&lt;span style="font-size: 12px; line-height: 16px;"&gt;WHERE column_Name LIKE '[!bsp]%';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/09/sql-wildcards.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-6828445283410281862</guid><pubDate>Fri, 09 Aug 2013 04:48:00 +0000</pubDate><atom:updated>2013-08-08T21:48:10.557-07:00</atom:updated><title>Slid.es: Create Easy And Beautiful Presentations In Two Dimensions</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Tools like Microsoft PowerPoint or Apple’s Keynote put an amazingly 
powerful toolset into hands that make presentations. The key is 
realising that you should only need a minute portion of those tools. Not
 every line of text needs to whirl into view with CGI bravado. Not every
 image needs to glow and throw a shadow. It’s fun to put these effects 
in, but what looks cool and engaging is often distracting instead.&amp;nbsp;If 
you want to engage your audience, focus on the speaker and use the 
presentation to support what you’re saying. Simple keywords and images 
get you further than big blocks of text and headache-inducing effects.&lt;br /&gt;

Part of making professional presentations
 comes from focusing on key points like that. Another part comes from 
using the right tool for the job. PowerPoint is an amazing piece of 
software, but it gives you twenty degrees of freedom. Fifteen of those 
lead to disaster. Slid.es is a free online PowerPoint alternative to make great presentations. Simply beautiful and beautifully simple.&lt;br /&gt;

&lt;h2&gt;
&lt;a href="http://slid.es/"&gt;Slid.es&lt;/a&gt;&lt;/h2&gt;
Slid.es is a simple web app to make presentations. It’s simple to use
 and easy to make beautiful presentations with. Think Google Docs, but 
with a minimalist look and its own approach. All of this freely 
available, although you can &lt;a href="http://slid.es/pricing"&gt;upgrade to a Pro version&lt;/a&gt; to get more storage and private sharing.&lt;br /&gt;

&lt;img alt="slid.es-main-interface" class="aligncenter" height="317" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-main-interface.jpg" width="590" /&gt;&lt;br /&gt;

Getting started is very easy. Just click the big&amp;nbsp;&lt;em&gt;Get Started&lt;/em&gt;
 button on the home page and create a new account. If you don’t want to 
busy yourself with creating another account from scratch, sign in with 
your Facebook or Google account instead.&lt;br /&gt;

&lt;img alt="slid.es-create-account" class="aligncenter" height="377" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-create-account.jpg" width="590" /&gt;&lt;br /&gt;

After signing in, Slid.es let’s you know that you don’t have any decks. A&amp;nbsp;&lt;em&gt;deck&lt;/em&gt;, in case you’re wondering, is almost the same as a presentation. There are some differences, though.&lt;br /&gt;

&lt;h3&gt;
Decks: Making Multidimensional Presentations&lt;/h3&gt;
After creating a new deck in Slid.es, you’ll notice something 
peculiar. Both to the right and below the currently selected slide are 
buttons to create new slides. Pressing these will effectively add a new 
slide to the &lt;em&gt;right&lt;/em&gt;, or to the&amp;nbsp;&lt;em&gt;bottom&lt;/em&gt; of the current one. This means you’re able to create a presentation in two dimensions!&lt;br /&gt;

&lt;img alt="slid.es-double-plus" class="aligncenter" height="385" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-double-plus.jpg" width="590" /&gt;&lt;br /&gt;

This is better illustrated with an example. I’ve created a small 
mockup presentation in Slid.es, making use of both dimensions. By 
selecting&amp;nbsp;&lt;em&gt;Arrange&lt;/em&gt; from the sidebar menu, you get a good overview of the relationships between different slides.&lt;br /&gt;

In the example below, we start off with a title slide. Going down 
brings up an overview of the subject. Going right takes you to a new 
chapter. Similar to a book, you can view the vertical stacks as chapters
 in an all-compassing presentation, or you could create a deck of 
related slideshows, each in a separate stack.&lt;br /&gt;

&lt;img alt="slid.es-arrange" class="aligncenter" height="503" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-arrange.jpg" width="590" /&gt;&lt;br /&gt;

How you use it is up to you. Personally, I like the “chapter-y” feel 
of it. However, you could also simply work in a single direction and 
make a simple slideshow; front to back.&lt;br /&gt;

Navigating works by using the arrow keys, or the virtual directional 
pad in the lower right corner of the presentation. Note that you don’t 
skip the entire stack by moving right. Slid.es first draws the different
 parts of the current slide, regardless of whether you go down or right.
 Decks created with a free account are public.&lt;br /&gt;

&lt;h2&gt;
Creating Appealing Slides&lt;/h2&gt;
Before getting started, take a look at the&amp;nbsp;&lt;em&gt;Style&lt;/em&gt; menu in the
 sidebar. Here you can tweak the global style settings of your slides. 
What you change here, and also at any later stage, affects your entire 
deck. In this menu, you’ll be able to select a colour scheme, font, 
transition animation between two slides, and a transition animation when
 you change the background in a slide.&lt;br /&gt;

&lt;img alt="slid.es-style" class="aligncenter" height="354" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-style.jpg" width="590" /&gt;&lt;br /&gt;

Now, let’s create our first slide. You’ll notice there are no 
clickable areas set apart as is usual in these presentation suites (e.g.
 “Click to add title.”). Instead, there’s just a single canvas. &lt;em&gt;Heading 1&lt;/em&gt;
 is selected in the top toolbar, so you can just start typing to enter a
 title at the top of your slide. Press Enter, and Slid.es switches to a &lt;em&gt;Paragraph&lt;/em&gt; style automatically.&lt;br /&gt;

You can change everything involving typesetting in the top toolbar, 
although generally you’ll only have to change the text style 
occasionally. This is also where you’ll introduce new bullet lists, 
change text colour, add links and insert images into your slides.&lt;br /&gt;

&lt;img alt="slid.es-slide-toolbars" class="aligncenter" height="162" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-slide-toolbars.jpg" width="590" /&gt;&lt;br /&gt;

Just like the top toolbar tweaks properties of the content&amp;nbsp;&lt;em&gt;in&lt;/em&gt;
 the slide, the right toolbar tweaks the slides themselves. Here you can
 change the background colour or image, make items appear sequentially 
during your presentation, position elements freely and change the 
slide’s HTML code (in that order).&lt;br /&gt;

&lt;img alt="slid.es-fragments" class="aligncenter" height="182" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-fragments.jpg" width="590" /&gt;&lt;br /&gt;

Making items appear on a slide sequentially is incredibly simple. Start by clicking the&amp;nbsp;&lt;em&gt;lightning shaft icon&lt;/em&gt;
 in the right toolbar. Now, click on items in your slide to turn them 
into fragments. Every fragment is an item that only appears on your 
screen after you’ve stepped through them. There’s no tweaking the order 
or animation, though. Make sure to preview the slideshow before you 
finish.&lt;br /&gt;

&lt;h2&gt;
Sharing The Presentation&lt;/h2&gt;
Select&amp;nbsp;&lt;em&gt;Share&lt;/em&gt; in the left sidebar when you’re done to start 
spreading those slides around. There are two ways to share your slides. 
You can send people a link, or embed the slides on a website. (If you’ll
 be giving a presentation in person, this won’t be necessary.)&lt;br /&gt;

&lt;img alt="slid.es-share" class="aligncenter" height="317" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-share.jpg" width="590" /&gt;&lt;br /&gt;

Behind the link, you’ll find an embed of your presentation. In the 
lower left corner are buttons to enter full screen or open the 
presentation in a separate window. Additionally, below the presentation,
 you’ll find social sharing links and a comments section to engage with 
your audience.&lt;br /&gt;

&lt;img alt="slid.es-comments" class="aligncenter" height="318" src="http://main.makeuseoflimited.netdna-cdn.com/wp-content/uploads/2013/07/slid.es-comments.jpg" width="590" /&gt;&lt;br /&gt;

Take a look at this &lt;a href="http://slid.es/simonslangen/make-use-of"&gt;sample presentation&lt;/a&gt;
 in action. It’s a minimal presentation, but suffices to show off 
Slid.es features and how easy these presentations are to navigate.&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/08/slides-create-easy-and-beautiful.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total><enclosure length="-1" type="*/*; charset=utf-8" url="http://slid.es/"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>Tools like Microsoft PowerPoint or Apple’s Keynote put an amazingly powerful toolset into hands that make presentations. The key is realising that you should only need a minute portion of those tools. Not every line of text needs to whirl into view with CGI bravado. Not every image needs to glow and throw a shadow. It’s fun to put these effects in, but what looks cool and engaging is often distracting instead.&amp;nbsp;If you want to engage your audience, focus on the speaker and use the presentation to support what you’re saying. Simple keywords and images get you further than big blocks of text and headache-inducing effects. Part of making professional presentations comes from focusing on key points like that. Another part comes from using the right tool for the job. PowerPoint is an amazing piece of software, but it gives you twenty degrees of freedom. Fifteen of those lead to disaster. Slid.es is a free online PowerPoint alternative to make great presentations. Simply beautiful and beautifully simple. Slid.es Slid.es is a simple web app to make presentations. It’s simple to use and easy to make beautiful presentations with. Think Google Docs, but with a minimalist look and its own approach. All of this freely available, although you can upgrade to a Pro version to get more storage and private sharing. Getting started is very easy. Just click the big&amp;nbsp;Get Started button on the home page and create a new account. If you don’t want to busy yourself with creating another account from scratch, sign in with your Facebook or Google account instead. After signing in, Slid.es let’s you know that you don’t have any decks. A&amp;nbsp;deck, in case you’re wondering, is almost the same as a presentation. There are some differences, though. Decks: Making Multidimensional Presentations After creating a new deck in Slid.es, you’ll notice something peculiar. Both to the right and below the currently selected slide are buttons to create new slides. Pressing these will effectively add a new slide to the right, or to the&amp;nbsp;bottom of the current one. This means you’re able to create a presentation in two dimensions! This is better illustrated with an example. I’ve created a small mockup presentation in Slid.es, making use of both dimensions. By selecting&amp;nbsp;Arrange from the sidebar menu, you get a good overview of the relationships between different slides. In the example below, we start off with a title slide. Going down brings up an overview of the subject. Going right takes you to a new chapter. Similar to a book, you can view the vertical stacks as chapters in an all-compassing presentation, or you could create a deck of related slideshows, each in a separate stack. How you use it is up to you. Personally, I like the “chapter-y” feel of it. However, you could also simply work in a single direction and make a simple slideshow; front to back. Navigating works by using the arrow keys, or the virtual directional pad in the lower right corner of the presentation. Note that you don’t skip the entire stack by moving right. Slid.es first draws the different parts of the current slide, regardless of whether you go down or right. Decks created with a free account are public. Creating Appealing Slides Before getting started, take a look at the&amp;nbsp;Style menu in the sidebar. Here you can tweak the global style settings of your slides. What you change here, and also at any later stage, affects your entire deck. In this menu, you’ll be able to select a colour scheme, font, transition animation between two slides, and a transition animation when you change the background in a slide. Now, let’s create our first slide. You’ll notice there are no clickable areas set apart as is usual in these presentation suites (e.g. “Click to add title.”). Instead, there’s just a single canvas. Heading 1 is selected in the top toolbar, so you can just start typing to enter a title at the top of your slide. Press Enter, and Slid.es switches to a Paragraph style automatically. You can change everything involving typesetting in the top toolbar, although generally you’ll only have to change the text style occasionally. This is also where you’ll introduce new bullet lists, change text colour, add links and insert images into your slides. Just like the top toolbar tweaks properties of the content&amp;nbsp;in the slide, the right toolbar tweaks the slides themselves. Here you can change the background colour or image, make items appear sequentially during your presentation, position elements freely and change the slide’s HTML code (in that order). Making items appear on a slide sequentially is incredibly simple. Start by clicking the&amp;nbsp;lightning shaft icon in the right toolbar. Now, click on items in your slide to turn them into fragments. Every fragment is an item that only appears on your screen after you’ve stepped through them. There’s no tweaking the order or animation, though. Make sure to preview the slideshow before you finish. Sharing The Presentation Select&amp;nbsp;Share in the left sidebar when you’re done to start spreading those slides around. There are two ways to share your slides. You can send people a link, or embed the slides on a website. (If you’ll be giving a presentation in person, this won’t be necessary.) Behind the link, you’ll find an embed of your presentation. In the lower left corner are buttons to enter full screen or open the presentation in a separate window. Additionally, below the presentation, you’ll find social sharing links and a comments section to engage with your audience. Take a look at this sample presentation in action. It’s a minimal presentation, but suffices to show off Slid.es features and how easy these presentations are to navigate.</itunes:subtitle><itunes:author>noreply@blogger.com (Kiran Upadhyay)</itunes:author><itunes:summary>Tools like Microsoft PowerPoint or Apple’s Keynote put an amazingly powerful toolset into hands that make presentations. The key is realising that you should only need a minute portion of those tools. Not every line of text needs to whirl into view with CGI bravado. Not every image needs to glow and throw a shadow. It’s fun to put these effects in, but what looks cool and engaging is often distracting instead.&amp;nbsp;If you want to engage your audience, focus on the speaker and use the presentation to support what you’re saying. Simple keywords and images get you further than big blocks of text and headache-inducing effects. Part of making professional presentations comes from focusing on key points like that. Another part comes from using the right tool for the job. PowerPoint is an amazing piece of software, but it gives you twenty degrees of freedom. Fifteen of those lead to disaster. Slid.es is a free online PowerPoint alternative to make great presentations. Simply beautiful and beautifully simple. Slid.es Slid.es is a simple web app to make presentations. It’s simple to use and easy to make beautiful presentations with. Think Google Docs, but with a minimalist look and its own approach. All of this freely available, although you can upgrade to a Pro version to get more storage and private sharing. Getting started is very easy. Just click the big&amp;nbsp;Get Started button on the home page and create a new account. If you don’t want to busy yourself with creating another account from scratch, sign in with your Facebook or Google account instead. After signing in, Slid.es let’s you know that you don’t have any decks. A&amp;nbsp;deck, in case you’re wondering, is almost the same as a presentation. There are some differences, though. Decks: Making Multidimensional Presentations After creating a new deck in Slid.es, you’ll notice something peculiar. Both to the right and below the currently selected slide are buttons to create new slides. Pressing these will effectively add a new slide to the right, or to the&amp;nbsp;bottom of the current one. This means you’re able to create a presentation in two dimensions! This is better illustrated with an example. I’ve created a small mockup presentation in Slid.es, making use of both dimensions. By selecting&amp;nbsp;Arrange from the sidebar menu, you get a good overview of the relationships between different slides. In the example below, we start off with a title slide. Going down brings up an overview of the subject. Going right takes you to a new chapter. Similar to a book, you can view the vertical stacks as chapters in an all-compassing presentation, or you could create a deck of related slideshows, each in a separate stack. How you use it is up to you. Personally, I like the “chapter-y” feel of it. However, you could also simply work in a single direction and make a simple slideshow; front to back. Navigating works by using the arrow keys, or the virtual directional pad in the lower right corner of the presentation. Note that you don’t skip the entire stack by moving right. Slid.es first draws the different parts of the current slide, regardless of whether you go down or right. Decks created with a free account are public. Creating Appealing Slides Before getting started, take a look at the&amp;nbsp;Style menu in the sidebar. Here you can tweak the global style settings of your slides. What you change here, and also at any later stage, affects your entire deck. In this menu, you’ll be able to select a colour scheme, font, transition animation between two slides, and a transition animation when you change the background in a slide. Now, let’s create our first slide. You’ll notice there are no clickable areas set apart as is usual in these presentation suites (e.g. “Click to add title.”). Instead, there’s just a single canvas. Heading 1 is selected in the top toolbar, so you can just start typing to enter a title at the top of your slide. Press Enter, and Slid.es switches to a Paragraph style automatically. You can change everything involving typesetting in the top toolbar, although generally you’ll only have to change the text style occasionally. This is also where you’ll introduce new bullet lists, change text colour, add links and insert images into your slides. Just like the top toolbar tweaks properties of the content&amp;nbsp;in the slide, the right toolbar tweaks the slides themselves. Here you can change the background colour or image, make items appear sequentially during your presentation, position elements freely and change the slide’s HTML code (in that order). Making items appear on a slide sequentially is incredibly simple. Start by clicking the&amp;nbsp;lightning shaft icon in the right toolbar. Now, click on items in your slide to turn them into fragments. Every fragment is an item that only appears on your screen after you’ve stepped through them. There’s no tweaking the order or animation, though. Make sure to preview the slideshow before you finish. Sharing The Presentation Select&amp;nbsp;Share in the left sidebar when you’re done to start spreading those slides around. There are two ways to share your slides. You can send people a link, or embed the slides on a website. (If you’ll be giving a presentation in person, this won’t be necessary.) Behind the link, you’ll find an embed of your presentation. In the lower left corner are buttons to enter full screen or open the presentation in a separate window. Additionally, below the presentation, you’ll find social sharing links and a comments section to engage with your audience. Take a look at this sample presentation in action. It’s a minimal presentation, but suffices to show off Slid.es features and how easy these presentations are to navigate.</itunes:summary></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-924463306190594117</guid><pubDate>Wed, 31 Jul 2013 11:46:00 +0000</pubDate><atom:updated>2013-07-31T04:47:03.255-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">JQuery Mobile</category><title>Announcing jQuery Mobile 1.4.0 Alpha</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b&gt;The jQuery Mobile team is thrilled to announce the 1.4.0 Alpha release.&lt;/b&gt;
 For this release we focused on performance improvements and reviewing 
widgets. We also introduced a new default theme and SVG icons. Some of 
the new features that come with this release are a flip switch widget, a
 generic filter widget named “filterable”, popups with arrows, tooltips 
for sliders and we integrated the tabs widget from jQuery UI.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Performance&lt;/h2&gt;
To improve performance we reduced DOM manipulation. Generation of 
inner markup for elements styled as butons has been completely removed. 
In many cases the framework just adds classes to the native element 
during enhancement and we even reduced the amount of classes that are 
added by the framework.&lt;br /&gt;
&lt;h2&gt;
Theme inheritance&lt;/h2&gt;
One of the biggest changes is the way theme inheritance works. In 
previous versions we used JavaScript to find the nearest parent element 
with a theme and added theme classes to all elements. This has been 
replaced by a pure CSS solution where the level of specificity of the 
selector determines what theme (swatch) is applied. In almost all cases 
the default for option theme has been removed and widgets get the same 
theme as their container or page via CSS.&lt;br /&gt;
&lt;h2&gt;
New default theme&lt;/h2&gt;
This was also a good time to switch to a new default theme with a 
flat, more modern, design. The number of swatches has been reduced from 
five to two; a light “A” swatch and a dark “B” swatch. We will update 
the ThemeRoller soon so you can create your own themes for 1.4.&lt;br /&gt;
&lt;h2&gt;
SVG icons&lt;/h2&gt;
Not only the theme is new. A big thank you to &lt;a href="http://www.glyphish.com/" target="_blank" title="Glyphish"&gt;Glyphish&lt;/a&gt;
 for creating a complete new icon set for jQuery Mobile! These are 
vector-based SVG icons, but we included a fallback to external PNG icons
 on browsers that don’t support inline SVG. We are also going to provide
 additional stylesheets, each with different icon CSS (inline SVG, 
data-uri PNG, and external PNG) that can be used with the full &lt;a href="https://github.com/filamentgroup/grunticon" target="_blank" title="Grunticon"&gt;Grunticon&lt;/a&gt; solution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://jquerymobile.com/blog/2013/07/25/announcing-jquery-mobile-1-4-0-alpha/"&gt;Read More&lt;/a&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/07/announcing-jquery-mobile-140-alpha.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-777139013577376594</guid><pubDate>Mon, 22 Jul 2013 06:19:00 +0000</pubDate><atom:updated>2013-08-05T05:09:00.914-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>What is SSRS and Why SSRS is asked for in many Job Opening?</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
This example is from the&lt;b&gt; &lt;a href="http://amzn.to/12Zf6nt" target="_blank"&gt;Beginning SSRS&lt;/a&gt;&amp;nbsp;&lt;/b&gt;by Kathi Kallenberger&lt;b&gt;.&lt;/b&gt;&amp;nbsp;Supporting files are available with a free download from the &lt;a href="http://www.joes2pros.com/" target="_blank"&gt;www.Joes2Pros.com&lt;/a&gt; web site.
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
This will be a 5 day blog post &lt;span class="GINGER_SOFATWARE_correct"&gt;in&lt;/span&gt; getting started with SSRS. Today will show the importance of SSRS in the business. &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Why is SSRS asked for in so many job openings&lt;/b&gt;&lt;b&gt;?&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
If you talk to an SSRS&amp;nbsp;expert it’s very 
clear to them exactly why companies really need this invention and how 
it saves time and adds business value. You don’t have to be an SSRS 
expert to know its value or to start using it. For example you don’t 
have to be an airline pilot to know the usefulness of modern 
transportation. Even the people who don’t know how to run SSRS but need 
the reports can tell you why that is needed. This blog post will go into
 why SSRS is an important invention by showing how it improves the usage
 of information in your company.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Before SSRS&amp;nbsp;there has always been a need 
for a company to benefit from the use of its own information. Excel 
spreadsheets have been a popular way to do this for a long time. With 
SSRS you can still use this solution&amp;nbsp;and gain many other options too.&lt;/div&gt;
&lt;div class="stipple-dottable-wrapper" data-stipple-dom-id="1" style="border-radius: 0px 0px 0px 0px; box-shadow: none; display: inline-block; float: none; height: 227px; margin: 0px; padding: 0px; position: relative; width: 619px;"&gt;
&lt;img alt="" class="alignnone stippleit-sid-wp-668536" height="864" src="http://www.pinaldave.com/bimg/ssrs1.jpg" style="border-radius: 0px 0px 0px 0px; box-shadow: none; float: none; margin: 0px; max-height: 227px; max-width: 619px; padding: 0px;" width="1536" /&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
A friend of mine told me a story about 
doing database work in the 90s for a major company and how he wished 
SSRS&amp;nbsp;was available back then. The Vice President of the marketing 
channel would often come to him just before an important meeting with 
the board of directors. He often needed to show how certain product 
sales were performing over time. All this information was in the 
database so it was my friend’s job to get the information out and 
organized into a medium the VP could use. This medium &lt;span class="GINGER_SOFATWARE_correct"&gt;was&lt;/span&gt; usually Excel. The VP often had meetings all over the world where he showcased this Excel report.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The solution&amp;nbsp;to get the VP to him anywhere he was in the world was an Excel file attached to an &lt;span class="GINGER_SOFATWARE_correct"&gt;e-mail&lt;/span&gt;. This worked pretty well but with some drawbacks. One time my friend sent the wrong file in the &lt;span class="GINGER_SOFATWARE_correct"&gt;e-mail&lt;/span&gt;.
 A few minutes later my friend realized his mistake and sent another 
frantic e-mail to VP. This one was saying to ignore the last e-mail and 
use this newer one. Would the VP see the correct e-mail in time?&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
If SSRS&amp;nbsp;had been available, my friend could have created a solution&amp;nbsp;that &lt;span class="GINGER_SOFATWARE_correct"&gt;let&lt;/span&gt;
 the VP run the report any time he wished. The report could have been 
published to the company intranet where the VP could run it from any of 
the offices he happened to be traveling &lt;span class="GINGER_SOFATWARE_correct"&gt;to&lt;/span&gt;
 that month. There is a fair amount of work up front to develop and 
publish the report, but once that work is completed, the report can be 
reused as many times as needed. My friend could even be on vacation for 
the first day of the &lt;span class="GINGER_SOFATWARE_correct"&gt;monthly&lt;/span&gt; and the VP can get his real-time report.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Not only could the report show the most 
recent data, the VP could choose to view reports of previous months with
 just a few clicks. The deployed SSRS&amp;nbsp;is user friendly, and can also be 
configured to protect reports from being run by the wrong people.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Tomorrow’s Post&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Tomorrow’s blog post will show how to know if you already have SSRS installed.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
If you want to learn SSRS in easy to simple words – I strongly recommend you to get &lt;b&gt;&lt;a href="http://amzn.to/12Zf6nt" target="_blank"&gt;Beginning SSRS&lt;/a&gt;&lt;/b&gt; book from Joes 2 Pros.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://blog.sqlauthority.com/2013/07/22/sql-server-what-is-ssrs-and-why-ssrs-is-asked-for-in-many-job-opening/"&gt;Source&lt;/a&gt; &lt;/div&gt;
&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/07/httpmysqlcodesblogspotin201307announcin.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-7078673858482882967</guid><pubDate>Mon, 22 Jul 2013 05:00:00 +0000</pubDate><atom:updated>2013-07-31T04:47:16.135-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">JQuery Mobile</category><title>Announcing jQuery Mobile 1.3.2</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="font-size: 17px;"&gt;
&lt;b&gt;The jQuery Mobile team is happy to announce 1.3.2&lt;/b&gt;. This is the second maintenance release for &lt;a href="http://jquerymobile.com/blog/2013/02/20/jquery-mobile-1-3-0-released/"&gt;1.3&lt;/a&gt; and contains fixes throughout the library. &lt;a href="http://view.jquerymobile.com/1.3.2/dist/demos/"&gt;Try it now!&lt;/a&gt;&lt;/div&gt;
&lt;h3 style="border-bottom: 1px solid #ccc; color: #dddddd; font-size: 14px !important; line-height: 170%; padding-bottom: 20px;"&gt;
&lt;a href="http://view.jquerymobile.com/1.3.2/dist/demos/"&gt;Demos &amp;amp; docs&lt;/a&gt; | &lt;a href="http://jquerymobile.com/blog/2013/07/19/announcing-jquery-mobile-1-3-2/#download"&gt;Download &amp;amp; CDN&lt;/a&gt; | &lt;a href="http://jquerymobile.com/blog/2013/07/19/announcing-jquery-mobile-1-3-2/#changelog"&gt;Change log&lt;/a&gt;&lt;/h3&gt;
&lt;h2 id="download"&gt;
Download&lt;/h2&gt;
&lt;b&gt;CDN-Hosted JavaScript:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.js"&gt;Uncompressed: jquery.mobile-1.3.2.js&lt;/a&gt; (useful for debugging)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"&gt;Minified: jquery.mobile-1.3.2.min.js&lt;/a&gt; (full library, ready to deploy)&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;CDN-Hosted CSS:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.css"&gt;Uncompressed with Default theme: jquery.mobile-1.3.2.css&lt;/a&gt; (useful for debugging)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css"&gt;Minified with Default theme: jquery.mobile-1.3.2.min.css&lt;/a&gt; (full library, ready to deploy)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://code.jquery.com/mobile/1.3.2/jquery.mobile.structure-1.3.2.css"&gt;Uncompressed structure &lt;b&gt;without a theme&lt;/b&gt;: jquery.mobile-1.3.2.css&lt;/a&gt; (useful for theme development)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://code.jquery.com/mobile/1.3.2/jquery.mobile.structure-1.3.2.min.css"&gt;Minified structure &lt;b&gt;without a theme&lt;/b&gt;: jquery.mobile-1.3.2.min.css&lt;/a&gt; (full library, ready to deploy)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Copy-and-Paste Snippet for CDN-hosted files (recommended):&lt;/b&gt;&lt;br /&gt;
&lt;h2 style="line-height: 155%; margin-bottom: 2px; text-align: left;"&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&amp;lt;link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" /&amp;gt;
&amp;lt;script src="http://code.jquery.com/jquery-1.9.1.min.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;b&gt;ZIP File:&lt;br /&gt;
&lt;/b&gt;If you want to host the files yourself you can download a zip of all the files:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.zip"&gt;Zip File: jquery.mobile-1.3.2.zip&lt;/a&gt; (JavaScript, CSS, and images)&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;Microsoft CDN hosted jQuery Mobile files:&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.asp.net/ajaxLibrary/CDN.ashx#jQuery_Mobile_Releases_on_the_CDN_3"&gt;http://www.asp.net/ajaxLibrary/CDN.ashx&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;Fork jQuery Mobile on GitHub&lt;/b&gt;&lt;br /&gt;
&lt;a href="https://github.com/jquery/jquery-mobile"&gt;https://github.com/jquery/jquery-mobile&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://jquerymobile.com/blog/2013/07/19/announcing-jquery-mobile-1-3-2/"&gt;Read More&lt;/a&gt; &lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/07/announcing-jquery-mobile-132.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total><enclosure length="100090" type="application/javascript; charset=utf-8" url="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.js"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>The jQuery Mobile team is happy to announce 1.3.2. This is the second maintenance release for 1.3 and contains fixes throughout the library. Try it now! Demos &amp;amp; docs | Download &amp;amp; CDN | Change log Download CDN-Hosted JavaScript: Uncompressed: jquery.mobile-1.3.2.js (useful for debugging) Minified: jquery.mobile-1.3.2.min.js (full library, ready to deploy) CDN-Hosted CSS: Uncompressed with Default theme: jquery.mobile-1.3.2.css (useful for debugging) Minified with Default theme: jquery.mobile-1.3.2.min.css (full library, ready to deploy) Uncompressed structure without a theme: jquery.mobile-1.3.2.css (useful for theme development) Minified structure without a theme: jquery.mobile-1.3.2.min.css (full library, ready to deploy) Copy-and-Paste Snippet for CDN-hosted files (recommended): &amp;lt;link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" /&amp;gt; &amp;lt;script src="http://code.jquery.com/jquery-1.9.1.min.js"&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"&amp;gt;&amp;lt;/script&amp;gt; ZIP File: If you want to host the files yourself you can download a zip of all the files: Zip File: jquery.mobile-1.3.2.zip (JavaScript, CSS, and images) Microsoft CDN hosted jQuery Mobile files: http://www.asp.net/ajaxLibrary/CDN.ashx Fork jQuery Mobile on GitHub https://github.com/jquery/jquery-mobile Read More</itunes:subtitle><itunes:author>noreply@blogger.com (Kiran Upadhyay)</itunes:author><itunes:summary>The jQuery Mobile team is happy to announce 1.3.2. This is the second maintenance release for 1.3 and contains fixes throughout the library. Try it now! Demos &amp;amp; docs | Download &amp;amp; CDN | Change log Download CDN-Hosted JavaScript: Uncompressed: jquery.mobile-1.3.2.js (useful for debugging) Minified: jquery.mobile-1.3.2.min.js (full library, ready to deploy) CDN-Hosted CSS: Uncompressed with Default theme: jquery.mobile-1.3.2.css (useful for debugging) Minified with Default theme: jquery.mobile-1.3.2.min.css (full library, ready to deploy) Uncompressed structure without a theme: jquery.mobile-1.3.2.css (useful for theme development) Minified structure without a theme: jquery.mobile-1.3.2.min.css (full library, ready to deploy) Copy-and-Paste Snippet for CDN-hosted files (recommended): &amp;lt;link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" /&amp;gt; &amp;lt;script src="http://code.jquery.com/jquery-1.9.1.min.js"&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"&amp;gt;&amp;lt;/script&amp;gt; ZIP File: If you want to host the files yourself you can download a zip of all the files: Zip File: jquery.mobile-1.3.2.zip (JavaScript, CSS, and images) Microsoft CDN hosted jQuery Mobile files: http://www.asp.net/ajaxLibrary/CDN.ashx Fork jQuery Mobile on GitHub https://github.com/jquery/jquery-mobile Read More</itunes:summary><itunes:keywords>JQuery Mobile</itunes:keywords></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-3679908891464205107</guid><pubDate>Wed, 17 Jul 2013 04:56:00 +0000</pubDate><atom:updated>2013-08-05T05:08:36.655-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>Difference Between INNER JOIN and JOIN</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span class="GINGER_SOFATWARE_correct"&gt;Query&lt;/span&gt; &lt;span class="GINGER_SOFATWARE_correct"&gt;using&lt;/span&gt; INNER JOIN&lt;/b&gt; &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-size: x-small;"&gt;SELECT * FROM Table1 INNER JOIN &amp;nbsp;Table2 ON Table1.Column1 = Table2.Column1&lt;/span&gt;&lt;/div&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span class="GINGER_SOFATWARE_correct"&gt;Query&lt;/span&gt;&amp;nbsp;&lt;span class="GINGER_SOFATWARE_correct"&gt;using&lt;/span&gt;&amp;nbsp;JOIN&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="font-size: x-small;"&gt;SELECT *
 FROM Table1
 JOIN &amp;nbsp;Table2 ON &lt;/span&gt;&lt;span style="font-size: x-small;"&gt;Table1.Column1 = Table2.Column1&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;div style="text-align: justify;"&gt;
The question is what is the difference between above two &lt;span class="GINGER_SOFATWARE_correct"&gt;syntax&lt;/span&gt;.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Here is the answer – &lt;i&gt;&lt;b&gt;They are equal to each other&lt;/b&gt;&lt;/i&gt;. There is absolutely no difference between them. They are equal in performance as well as implementation. JOIN is actually &lt;span class="GINGER_SOFATWARE_correct"&gt;shorter version&lt;/span&gt; of INNER JOIN.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Personally I prefer to write &lt;span class="GINGER_SOFATWARE_correct"&gt;INNER JOIN&lt;/span&gt; because it is much cleaner to read and it avoids any confusion if there is related to JOIN. For example if &lt;span class="GINGER_SOFATWARE_correct"&gt;users&lt;/span&gt;
 had written INNER JOIN instead of JOIN there would have been no 
confusion in mind and hence there was no need to have original question.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://blog.sqlauthority.com/2013/07/16/sql-difference-between-inner-join-and-join/"&gt;Source&lt;/a&gt; &lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/07/difference-between-inner-join-and-join.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-8109560722340166492</guid><pubDate>Wed, 10 Jul 2013 10:47:00 +0000</pubDate><atom:updated>2013-09-03T01:58:34.698-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Oracle</category><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>Delete duplicate rows in SQL Server and Oracle</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;SQL SERVER&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;DELETE FROM Table1 WHERE ID NOT IN&lt;br /&gt;(&amp;nbsp; SELECT MAX(ID) FROM Table1&lt;br /&gt;GROUP BY DuplicateColumn1, DuplicateColumn2, DuplicateColumn3 )&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;br /&gt;WITH CTE (COl1,Col2, DuplicateCount)&lt;br /&gt;AS&lt;br /&gt;(&lt;br /&gt;SELECT COl1,Col2,&lt;br /&gt;ROW_NUMBER() OVER(PARTITION BY COl1,Col2 ORDER BY Col1) AS DuplicateCount&lt;br /&gt;FROM TableName&lt;br /&gt;)&lt;br /&gt;DELETE&lt;br /&gt;FROM CTE&lt;br /&gt;WHERE DuplicateCount &amp;gt; 1&lt;br /&gt;GO&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;AND In ORACLE&amp;nbsp;&lt;/b&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;&lt;br /&gt;DELETE FROM TABLE1&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;code&gt;WHERE ROWID NOT IN (SELECT&amp;nbsp;&amp;nbsp; MIN (ROWID)&lt;br /&gt;FROM TABLE1&lt;br /&gt;GROUP BY COLUMN1, COLUMN2, COLUMN3, COLUMN4);&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/07/delete-duplicate-rows-in-sql-server-and.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-4789468686118834419</guid><pubDate>Fri, 17 May 2013 12:35:00 +0000</pubDate><atom:updated>2013-08-05T05:09:40.896-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sql Server</category><title>Count of the number of records in a SQL Table</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" id="docs-internal-guid-28fa57fd-b27c-dd16-25b9-efb37fb344c7" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir="ltr" id="docs-internal-guid-28fa57fd-b27c-dd16-25b9-efb37fb344c7" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline;"&gt;Name 3 ways to get an accurate count of the number of records in a SQL Table?&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT * FROM TableName&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT COUNT(*) FROM TableName&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir="ltr" style="line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT rows FROM sysindexes WHERE id = OBJECT_ID('TableName') AND indid &amp;lt; 2&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/05/count-of-number-of-records-in-sql-table.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-2272454870738612690</guid><pubDate>Sat, 06 Apr 2013 14:57:00 +0000</pubDate><atom:updated>2013-04-06T07:57:02.628-07:00</atom:updated><title>Super fast Database Copying/Cloning</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b id="internal-source-marker_0.5699260558467358" style="font-weight: normal;"&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;b id="internal-source-marker_0.5699260558467358" style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;A database cloning procedure is especially useful for the DBA who wants to give his developers a full-sized TEST and DEV instance by cloning the PROD instance into the development server areas.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;b id="internal-source-marker_0.5699260558467358" style="font-weight: normal;"&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;This Oracle clone procedure can be use to quickly migrate a system from one UNIX server to another.&amp;nbsp; It clones the Oracle database and this Oracle cloning procedures is often the fastest way to copy a Oracle database.&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b id="internal-source-marker_0.5699260558467358" style="font-weight: normal;"&gt;&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 1:&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt; On the old system, go into SQL*Plus, sign on as SYSDBA and issue: “alter database backup controlfile to trace”. This will put the create database syntax in the trace file directory. The trace keyword tells oracle to generate a script containing a create controlfile command and store it in the trace directory identified in the user_dump_dest parameter of the init.ora file. It will look something like this:&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;STARTUP NOMOUNT&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;CREATE CONTROLFILE REUSE DATABASE "OLDLSQ" NORESETLOGS&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;NOARCHIVELOG&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;MAXLOGFILES 16&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;MAXLOGMEMBERS 2&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;MAXDATAFILES 240&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;MAXINSTANCES 1&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;MAXLOGHISTORY 113&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;LOGFILE&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;GROUP 1 ('/u03/oradata/oldlsq/log1a.dbf',&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;'/u03/oradata/olslsq/log1b.dbf') SIZE 30M,&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;GROUP 2 ('/u04/oradata/oldlsq/log2a.dbf',&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;'/u04/oradata/oldlsq/log2b.dbf') SIZE 30M&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;DATAFILE&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;'/u01/oradata/oldlsq/system01.dbf',&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;'/u01/oradata/oldlsq/mydatabase.dbf'&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;# Recovery is required if any of the datafiles are restored&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;# backups, or if the last shutdown was not normal or immediate.&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;RECOVER DATABASE&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;# Database can now be opened normally.&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;ALTER DATABASE OPEN;&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 2: &lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;Shutdown the old database&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 3:&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt; Copy all data files into the new directories on the new server. You may change the file names if you want, but you must edit the controlfile to reflect the new data files names on the new server.&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;rcp /u01/oradata/oldlsq/* newhost:/u01/oradata/newlsq&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;rcp /u01/oradata/oldlsq/* newhost:/u01/oradata/newlsq&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;rcp /u03/oradata/oldlsq/* newhost:/u03/oradata/newlsq&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;rcp /u04/oradata/oldlsq/* newhost:/u04/oradata/newlsq&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 4:&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt; Copy and Edit the Control file – Using the output syntax from STEP 1, modify the controlfile creation script by changing the following:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;Old:&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;CREATE CONTROLFILE &lt;/span&gt;&lt;span style="color: red; font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;REUSE DATABASE "OLDLSQ"&lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt; NORESETLOGS&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;New:&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;CREATE CONTROLFILE &lt;/span&gt;&lt;span style="color: red; font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;SET DATABASE "NEWLSQ"&lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt; RESETLOGS&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 5:&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt; Remove the “recover database” and “alter database open” syntax&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;# Recovery is required if any of the datafiles are restored&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;# backups, or if the last shutdown was not normal or immediate.&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;RECOVER DATABASE&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;# Database can now be opened normally.&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 11px; vertical-align: baseline; white-space: pre-wrap;"&gt;ALTER DATABASE OPEN;&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 6&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;: Re-names of the data files names that have changed.&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;Save as &lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;"&gt;db_create_controlfile.sql.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;span style="font-family: Verdana; font-size: 13px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;Old:&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;DATAFILE&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;'/u01/oradata/&lt;/span&gt;&lt;span style="color: red; font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;oldlsq&lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;/system01.dbf',&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;'/u01/oradata/&lt;/span&gt;&lt;span style="color: red; font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;oldlsq&lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;/mydatabase.dbf'&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;New:&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;DATAFILE&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;'/u01/oradata/&lt;/span&gt;&lt;span style="color: red; font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;newlsq&lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;/system01.dbf',&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;'/u01/oradata/&lt;/span&gt;&lt;span style="color: red; font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;newlsq&lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;/mydatabase.dbf'&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 7: &lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;Create the bdump, udump and cdump directories&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;cd $DBA/admin&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;mkdir newlsq&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;cd newlsq&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;mkdir bdump&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;mkdir udump&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;mkdir cdump&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;mkdir pfile&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 8:&lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt; Copy-over the old init.ora file&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;rcp $DBA/admin/olslsq/pfile/*.ora newhost:/u01/oracle/admin/newlsq/pfile&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 9: &lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;Start the new database&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;@db_create_controlfile.sql&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin: 0pt 7.5pt;"&gt;
&lt;span style="font-family: 'Courier New'; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;STEP 10: &lt;/span&gt;&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;Place the new database in archivelog mode&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/b&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/04/super-fast-database-copyingcloning.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-3421238440289944937</guid><pubDate>Sat, 06 Apr 2013 14:54:00 +0000</pubDate><atom:updated>2013-04-06T07:54:33.919-07:00</atom:updated><title>Generate Data Dictionary from SQL Server</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;b id="internal-source-marker_0.976087988121435" style="font-weight: normal;"&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;Introduction &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;This tip shows how to find out table description and dependency with other tables.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Arial; font-size: 15px; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;"&gt;Using the code&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;In any SQL Server database (any version of SQL Server) just create a Stored Procedure [spGenerateDBDictionary] that is given as attachment, and exec [spGenerateDBDictionary]. Then the procedure will return tables information with table name, data, attributes, data types, IsNullable info, primary key, foreign key constraints, any reference with another table, and the details description, but remember that the description will come from the description field where you give any description at the time of table creation.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;CREATE proc [dbo].[spGenerateDBDictionary] &lt;br class="kix-line-break" /&gt;AS&lt;br class="kix-line-break" /&gt;BEGIN&lt;br class="kix-line-break" /&gt;select a.name [Table],b.name [Attribute],c.name [DataType],b.isnullable [Allow Nulls?],CASE WHEN &lt;br class="kix-line-break" /&gt;d.name is null THEN 0 ELSE 1 END [PKey?],&lt;br class="kix-line-break" /&gt;CASE WHEN e.parent_object_id is null THEN 0 ELSE 1 END [FKey?],CASE WHEN e.parent_object_id &lt;br class="kix-line-break" /&gt;is null THEN '-' ELSE g.name &amp;nbsp;END [Ref Table],&lt;br class="kix-line-break" /&gt;CASE WHEN h.value is null THEN '-' ELSE h.value END [Description]&lt;br class="kix-line-break" /&gt;from sysobjects as a&lt;br class="kix-line-break" /&gt;join syscolumns as b on a.id = b.id&lt;br class="kix-line-break" /&gt;join systypes as c on b.xtype = c.xtype &lt;br class="kix-line-break" /&gt;left join (SELECT &amp;nbsp;so.id,sc.colid,sc.name &lt;br class="kix-line-break" /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FROM &amp;nbsp;&amp;nbsp;&amp;nbsp;syscolumns sc&lt;br class="kix-line-break" /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JOIN sysobjects so ON so.id = sc.id&lt;br class="kix-line-break" /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JOIN sysindexkeys si ON so.id = si.id &lt;br class="kix-line-break" /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;and sc.colid = si.colid&lt;br class="kix-line-break" /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;WHERE si.indid = 1) d on a.id = d.id and b.colid = d.colid&lt;br class="kix-line-break" /&gt;left join sys.foreign_key_columns as e on a.id = e.parent_object_id and b.colid = e.parent_column_id &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br class="kix-line-break" /&gt;left join sys.objects as g on e.referenced_object_id = g.object_id &amp;nbsp;&lt;br class="kix-line-break" /&gt;left join sys.extended_properties as h on a.id = h.major_id and b.colid = h.minor_id&lt;br class="kix-line-break" /&gt;where a.type = 'U' order by a.name&lt;br class="kix-line-break" /&gt;END&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/04/generate-data-dictionary-from-sql-server.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-7131303905153345561</guid><pubDate>Mon, 14 Jan 2013 08:38:00 +0000</pubDate><atom:updated>2013-01-14T00:38:54.662-08:00</atom:updated><title>How to format datetime &amp; date in Sql Server</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span id="internal-source-marker_0.5182174722697582" style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 100) – mon dd yyyy hh:mmAM (or PM)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;– Oct &amp;nbsp;2 2008 11:01AM &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 101) – mm/dd/yyyy - 10/02/2008 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 102) – yyyy.mm.dd – 2008.10.02 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 103) – dd/mm/yyyy&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 104) – dd.mm.yyyy&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 105) – dd-mm-yyyy&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 106) – dd mon yyyy&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 107) – mon dd, yyyy&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 108) – hh:mm:ss&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 109) – mon dd yyyy hh:mm:ss:mmmAM (or PM)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;– Oct &amp;nbsp;2 2008 11:02:44:013AM &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 110) – mm-dd-yyyy&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 111) – yyyy/mm/dd&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 112) – yyyymmdd&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 113) – dd mon yyyy hh:mm:ss:mmm&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;– 02 Oct 2008 11:02:07:577 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 114) – hh:mm:ss:mmm(24h)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 120) – yyyy-mm-dd hh:mm:ss(24h)&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 121) – yyyy-mm-dd hh:mm:ss.mmm&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar, getdate(), 126) – yyyy-mm-ddThh:mm:ss.mmm&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;– 2008-10-02T10:52:47.513&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;– SQL create different date styles with t-sql string functions&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT replace(convert(varchar, getdate(), 111), ‘/’, ‘ ‘) – yyyy mm dd&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT convert(varchar(7), getdate(), 126) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;– yyyy-mm&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: white; color: #494949; font-family: 'Courier New'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;SELECT right(convert(varchar, getdate(), 106), 8) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;– mon yyyy&lt;/span&gt;&lt;/div&gt;
</description><link>https://mysqlcodes.blogspot.com/2013/01/how-to-format-datetime-date-in-sql.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-2831550238055976154</guid><pubDate>Wed, 06 Oct 2010 15:26:00 +0000</pubDate><atom:updated>2010-10-06T08:26:58.250-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PL / SQL</category><title>Type of Exception in Pl / Sql</title><description>&lt;b&gt;CURSOR_ALREADY_OPEN&lt;/b&gt; ~ You tried to OPEN a cursor that was already OPEN. You must CLOSE a cursor before you try to OPEN or re-OPEN it.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;DUP_VAL_ON_INDEX&lt;/b&gt; ~ Your INSERT or UPDATE statement attempted to store duplicate values in a column or columns in a row which is restricted by a unique index.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;INVALID_CURSOR&amp;nbsp;&lt;/b&gt; ~ You made reference to a cursor that did not exist. This usually happens when you try to FETCH from a cursor or CLOSE a cursor before that cursor is OPENed.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
INVALID_NUMBER&lt;/b&gt; ~ PL/SQL executes a SQL statement that cannot convert a character string successfully to a number. This exception is different from the &lt;i&gt;VALUE_ERROR&lt;/i&gt; exception, as it is raised only from within a SQL statement.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;LOGIN_DENIED&lt;/b&gt; ~&amp;nbsp; Your program tried to log onto the Oracle RDBMS with an invalid username-password combination. This exception is usually encountered when you embed PL/SQL in a 3GL language.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NO_DATA_FOUND&lt;/b&gt; ~ This exception is raised in three different scenarios:&lt;br /&gt;
(1) You executed a SELECT INTO statement (implicit cursor) that returned no rows. &lt;br /&gt;
(2) You referenced an uninitialized row in a local PL/SQL table.&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
(3) You read past end of file with UTL_FILE package. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NOT_LOGGED_ON&lt;/b&gt;&amp;nbsp; ~ Your program tried to execute a call to the database (usually with a DML statement) before it had logged into the Oracle RDBMS. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PROGRAM_ERROR&lt;/b&gt; ~ PL/SQL encounters an internal problem. The message text usually also tells you to "Contact Oracle Support." &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;STORAGE_ERROR&lt;/b&gt; ~ Your program ran out of memory or memory was in some way corrupted. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;TIMEOUT_ON_RESOURCE&lt;/b&gt; ~ A timeout occurred in the RDBMS while waiting for a resource.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;TOO_MANY_ROWS&lt;/b&gt; ~ A SELECT INTO statement returned more than one row. A SELECT INTO can return only one row; if your SQL statement returns more than one row you should place the SELECT statement in an explicit CURSOR declaration and FETCH from that cursor one row at a time.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;TRANSACTION_BACKED_OUT&lt;/b&gt; ~ The remote part of a transaction is rolled back, either with an explicit ROLLBACK command or as the result of some other action.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;VALUE_ERROR&lt;/b&gt; ~ PL/SQL raises the &lt;i&gt;VALUE_ERROR&lt;/i&gt; whenever it encounters an error having to do with the conversion, truncation, or invalid constraining of numeric and character data. This is a very general and common exception. If this same type of error is encountered in a SQL DML statement within a PL/SQL block, then the &lt;i&gt;INVALID_NUMBER&lt;/i&gt; exception is raised.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
ZERO_DIVIDE &lt;/b&gt;~ Your program tried to divide by zero.</description><link>https://mysqlcodes.blogspot.com/2010/10/type-of-exception-in-pl-sql.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-1537818499851939829</guid><pubDate>Wed, 06 Oct 2010 15:23:00 +0000</pubDate><atom:updated>2010-10-06T08:23:51.760-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Oracle</category><title>Managing Backup &amp; Recovery</title><description>&lt;b&gt;What are the different methods of backing up oracle database ?&lt;/b&gt;&lt;br /&gt;
- Logical Backups&lt;br /&gt;
- Cold Backups&lt;br /&gt;
- Hot Backups (Archive log)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is a logical backup ?&lt;/b&gt;&lt;br /&gt;
Logical backup involves reading a set of databse records and writing them into a file. Export utility is used for taking backup and Import utility is used to recover from backup.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is cold backup ? What are the elements of it ?&lt;/b&gt;&lt;br /&gt;
Cold backup is taking backup of all physical files after normal shutdown of database. We need to take.&lt;br /&gt;
- All Data files.&lt;br /&gt;
- All Control files.&lt;br /&gt;
- All on-line redo log files.&lt;br /&gt;
- The init.ora file (Optional)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What are the different kind of export backups ?&lt;/b&gt;&lt;br /&gt;
Full back - Complete database&lt;br /&gt;
Incremental - Only affected tables from last incremental date/full backup date.&lt;br /&gt;
Cumulative backup - Only affected table from the last cumulative date/full backup date.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is hot backup and how it can be taken ?&lt;/b&gt;&lt;br /&gt;
Taking backup of archive log files when database is open. For this the ARCHIVELOG mode should be enabled. The following files need to be backed up. &lt;br /&gt;
All data files. All Archive log, redo log files. All control files.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of FILE option in EXP command ?&lt;/b&gt;&lt;br /&gt;
To give the export file name.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of COMPRESS option in EXP command ?&lt;/b&gt;&lt;br /&gt;
Flag to indicate whether export should compress fragmented segments into single extents.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of GRANT option in EXP command ?&lt;/b&gt;&lt;br /&gt;
A flag to indicate whether grants on databse objects will be exported or not. Value is 'Y' or 'N'.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of INDEXES option in EXP command ?&lt;/b&gt;&lt;br /&gt;
A flag to indicate whether indexes on tables will be exported.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of ROWS option in EXP command ?&lt;/b&gt;&lt;br /&gt;
Flag to indicate whether table rows should be exported. If 'N' only DDL statements for the databse objects will be created.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of CONSTRAINTS option in EXP command ?&lt;/b&gt;&lt;br /&gt;
A flag to indicate whether constraints on table need to be exported.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of FULL option in EXP command ?&lt;/b&gt;&lt;br /&gt;
A flag to indicate whether full databse export should be performed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of OWNER option in EXP command ?&lt;/b&gt;&lt;br /&gt;
List of table accounts should be exported.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of TABLES option in EXP command ?&lt;/b&gt;&lt;br /&gt;
List of tables should be exported.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of RECORD LENGTH option in EXP command ?&lt;/b&gt;&lt;br /&gt;
Record length in bytes.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of INCTYPE option in EXP command ?&lt;/b&gt;&lt;br /&gt;
Type export should be performed COMPLETE,CUMULATIVE,INCREMENTAL.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of RECORD option in EXP command ?&lt;/b&gt;&lt;br /&gt;
For Incremental exports, the flag indirects whether a record will be stores data dictionary tables recording the export.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of PARFILE option in EXP command ?&lt;/b&gt;&lt;br /&gt;
Name of the parameter file to be passed for export.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of PARFILE option in EXP command ?&lt;/b&gt;&lt;br /&gt;
Name of the parameter file to be passed for export.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What is the use of ANALYSE ( Ver 7) option in EXP command ?&lt;/b&gt;&lt;br /&gt;
A flag to indicate whether statistical information about the exported objects should be written to export dump file.</description><link>https://mysqlcodes.blogspot.com/2010/10/managing-backup-recovery.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-3089364460907498133</guid><pubDate>Tue, 05 Oct 2010 16:46:00 +0000</pubDate><atom:updated>2010-10-05T09:46:31.534-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">D2K</category><title>How to convert a report into excel sheet</title><description>&lt;span class="tdvamseel"&gt;PROCEDURE U_1ButtonAction is&lt;br /&gt;
CURSOR cur is&lt;br /&gt;
&amp;nbsp; &lt;span class="IL_AD" id="IL_AD7"&gt;SELECT A&lt;/span&gt;.EMP_CODE,A.EMP_TITLE ||' '||A.EMP_FNAME ||' '||A.EMP_LNAME EMP_NAME,A.EMP_DEPT,A.EMP_TYPE,EMP_DOJ&lt;br /&gt;
FROM BPAYT030 A WHERE A.EMP_TYPE = DECODE(:P_EMPTYPE,'A',A.EMP_TYPE,:P_EMPTYPE) &lt;br /&gt;
AND A.EMP_DEPT = DECODE(:P_EMPDEPT,'A',A.EMP_DEPT,:P_EMPDEPT)&amp;nbsp; AND EMP_STATUS ='Y';&lt;br /&gt;
--AND A.JOB_TITLE&amp;nbsp; = DECODE(:P_JOB,'A',A.EMP_DEPT,:P_JOB) &lt;br /&gt;
V_OUTFILE TEXT_IO.FILE_TYPE;&lt;br /&gt;
V_OUTSTRING&amp;nbsp;&amp;nbsp;&amp;nbsp; VARCHAR2(1000);&lt;br /&gt;
L_FILENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VARCHAR2(100);&lt;br /&gt;
L_SR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUMBER:=0;&lt;br /&gt;
L_DESC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VARCHAR2(200);&lt;br /&gt;
L_DESC1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VARCHAR2(200);&lt;br /&gt;
BEGIN&lt;br /&gt;
L_FILENAME := 'C:'||'&lt;span class="IL_AD" id="IL_AD4"&gt;EMPLOYEE&lt;/span&gt; LIST'||TO_CHAR(SYSDATE,'DDMMRR')||'.CSV';&lt;br /&gt;
&amp;nbsp;V_outfile := text_io.fopen(L_FILENAME,'W');&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&amp;nbsp;V_outstring := ','||','||'EMPLOYEE TYPE/DEPARTMENT WISE DETAILS';&lt;br /&gt;
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);&lt;br /&gt;
V_outstring :='';&lt;br /&gt;
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);&lt;br /&gt;
V_outstring := :P_COMP;&lt;br /&gt;
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);&lt;br /&gt;
&amp;nbsp; --EXCEL FILE HEADS&lt;br /&gt;
&amp;nbsp;V_outstring :='EMPLOYEE TYPE'||','||'DEPARTMENT'||','||'CODE'||','||'DOJ' ||','||'EMPLOYEE NAME';&lt;br /&gt;
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);&lt;br /&gt;
FOR REC IN CUR LOOP&lt;br /&gt;
SELECT CODE_DESC INTO L_DESC FROM BCOMT011 WHERE TYPE_CODE&amp;nbsp; = REC.EMP_TYPE;&lt;br /&gt;
SELECT CODE_DESC INTO L_DESC1 FROM BCOMT011 WHERE TYPE_CODE&amp;nbsp; = REC.EMP_DEPT;&lt;br /&gt;
--DATA IN EXCEL&lt;br /&gt;
V_outstring :=&amp;nbsp; L_DESC||','||L_DESC1||','||REC.EMP_CODE||','||EC.EMP_DOJ||','||REC.EMP_NAME;&lt;br /&gt;
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);&lt;br /&gt;
END LOOP;&lt;br /&gt;
text_io.fclose(v_outfile);&lt;br /&gt;
SRW.MESSAGE(100,'File '||L_FILENAME|| ' Generated Successfully....');&lt;br /&gt;
&lt;span class="IL_AD" id="IL_AD1"&gt;EXCEPTION&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
WHEN OTHERS THEN&lt;br /&gt;
SRW.MESSAGE('1',SQLERRM);&lt;br /&gt;
text_io.fclose(v_outfile);&lt;br /&gt;
END;&lt;/span&gt;</description><link>https://mysqlcodes.blogspot.com/2010/10/how-to-convert-report-into-excel-sheet.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-6029766440380737019</guid><pubDate>Tue, 05 Oct 2010 16:29:00 +0000</pubDate><atom:updated>2010-10-05T09:29:58.814-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PL / SQL</category><title>What is a stored procedure ?</title><description>&lt;span class="tdvamseel"&gt;A stored procedure is a subprogram that is stored in the database as a PCODE and thus called as a standalone schema object. &lt;br /&gt;
&lt;br /&gt;
a) It can be invoked directly from any calling environments, or other subprograms.&lt;br /&gt;
&lt;br /&gt;
b) It is similar to any subprogram that accepts &lt;span class="IL_AD" id="IL_AD2"&gt;parameters&lt;/span&gt;  and performs an action. It may or may not return a value. This  attribute differentiates it from another subprogram type called  FUNCTION.&lt;br /&gt;
&lt;br /&gt;
c) It can be nested&lt;br /&gt;
&lt;br /&gt;
d) Is created by using the syntax CREATE OR REPLACE&lt;br /&gt;
&lt;br /&gt;
e) This stored procedure can be seen as an object in the User_Objects and is different from the procedures that are created in packages.&lt;/span&gt;</description><link>https://mysqlcodes.blogspot.com/2010/10/what-is-stored-procedure.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-2257639303064732978</guid><pubDate>Tue, 05 Oct 2010 16:27:00 +0000</pubDate><atom:updated>2010-10-05T09:27:12.512-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PL / SQL</category><title>Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger ? Why ?</title><description>&lt;span id="sort1"&gt;&lt;span class="tdvamseel"&gt;Generally In triggers you can't use TCL commands. &lt;br /&gt;
But you can use TCL commands in Autonomous Triggers. &lt;br /&gt;
You can declare a trigger as Autonomous by providing PRAGMA AUTONOMOUS_TRANSACTION in the beginning of the trigger. &lt;br /&gt;
At a same time you have to end your trigger with commit/rollback. &lt;br /&gt;
You can use these type of triggers to maintain log details of a table. &lt;/span&gt;&lt;/span&gt;</description><link>https://mysqlcodes.blogspot.com/2010/10/is-it-possible-to-use-transaction.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-6392427242492313037</guid><pubDate>Tue, 05 Oct 2010 16:16:00 +0000</pubDate><atom:updated>2010-10-05T09:16:49.284-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PL / SQL</category><title>What are the cursor attributes used in PL/SQL?</title><description>&lt;span id="sort1"&gt;&lt;span class="tdvamseel"&gt;For Implicit Cursors:-&lt;br /&gt;
Found - Returns TRUE If the last DML Statement affect atleast 1 row otherwise FALSE.&lt;br /&gt;
NotFound - Returns TRUE If last DML Statement doesn't affect atleast 1 row otherwise FALSE.&lt;br /&gt;
Rowcount - Returns number of rows affected by the last DML statement.&lt;br /&gt;
Isopen - Returns TRUE if the cursor is open otherwise FALSE. Its always returns FALSE incase of implicit cursor. Because after executing the DML statement Oracle Server automatically close the cursor.&lt;br /&gt;
&lt;br /&gt;
For Explicit Cursors:-&lt;br /&gt;
Found - Returns TRUE if the Last fetch returns a Row otherwise FALSE.&lt;br /&gt;
NotFound - Returns TRUE if the last fetch doesn't return any row otherwise FALSE.&lt;br /&gt;
Rowcount - Returns number of rows returned so far from the active set.&lt;br /&gt;
Isopen - Returns TRUE if the cursor is open otherwise FALSE.&lt;/span&gt;&lt;/span&gt;</description><link>https://mysqlcodes.blogspot.com/2010/10/what-are-cursor-attributes-used-in.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-422253148256379539.post-3150417707515259576</guid><pubDate>Tue, 05 Oct 2010 16:15:00 +0000</pubDate><atom:updated>2010-10-05T09:15:20.377-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PL / SQL</category><title>What is a cursor ? Why Cursor is required ?</title><description>&lt;span id="sort1"&gt;&lt;span class="tdvamseel"&gt;&lt;strong&gt;&lt;u&gt;CURSOR&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
Whenever a sql &lt;span class="IL_AD" id="IL_AD2"&gt;statement&lt;/span&gt; is issued at that time oracle server will allocate some memory area to execute and parse that sql statement. That data area is called as cursor.&lt;br /&gt;
&lt;br /&gt;
Two types : IMPLICIT EXPLICIT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMPLICIT&lt;br /&gt;
-----------&lt;br /&gt;
(1) Called as SQL.&lt;br /&gt;
(2) Never user CURSOR keyword explicitly&lt;br /&gt;
(3) Memory allocation and program &lt;span class="IL_AD" id="IL_AD3"&gt;controll&lt;/span&gt; will done automatically&lt;br /&gt;
(4) Returns or updates or deletes only one record.&lt;br /&gt;
(5) Attributes : SQL FOUND SQL NOTFOUND&lt;br /&gt;
&lt;br /&gt;
EXPLICIT&lt;br /&gt;
-----------&lt;br /&gt;
(1) called as cursors&lt;br /&gt;
(2) Uses CURSOR keyword explicitly&lt;br /&gt;
(3) Memory allocation and program control thru the cursor written.&lt;br /&gt;
(4) Returns or updates or deletes multiple records.&lt;br /&gt;
(5) Attributes : SQL FOUND SQL NOTFOUND ISOPEN ROWCOUNT&lt;/span&gt;&lt;/span&gt;</description><link>https://mysqlcodes.blogspot.com/2010/10/what-is-cursor-why-cursor-is-required.html</link><author>noreply@blogger.com (Kiran Upadhyay)</author><thr:total>0</thr:total></item></channel></rss>