<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-7386334741025822419</id><updated>2009-11-24T19:53:56.289+05:30</updated><title type='text'>All About Oracle</title><subtitle type='html'>Oracle topics,interview questions,answers,doubts and all information about oracle</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default?start-index=26&amp;max-results=25'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-7686957310806467387</id><published>2008-05-10T14:56:00.004+05:30</published><updated>2008-05-10T14:57:05.280+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>Which command using Query Analyzer will give you the version of SQL server and operating</title><content type='html'>Which command using Query Analyzer will give you the version of SQL server and operating&lt;br /&gt;system?&lt;br /&gt;&lt;br /&gt;Ans:&lt;br /&gt;&lt;br /&gt;SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY&lt;br /&gt;('edition')&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-7686957310806467387?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/7686957310806467387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=7686957310806467387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7686957310806467387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7686957310806467387'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/which-command-using-query-analyzer-will.html' title='Which command using Query Analyzer will give you the version of SQL server and operating'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-3178770551880137843</id><published>2008-05-10T14:56:00.003+05:30</published><updated>2008-05-10T14:56:47.970+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is SQL server agent?</title><content type='html'>SQL Server agent plays an important role in the day-to-day tasks of a database administrator (DBA). It&lt;br /&gt;is often overlooked as one of the main tools for SQL Server management. Its purpose is to ease the&lt;br /&gt;implementation of tasks for the DBA, with its full-function scheduling engine, which allows you to&lt;br /&gt;schedule your own jobs and scripts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-3178770551880137843?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/3178770551880137843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=3178770551880137843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/3178770551880137843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/3178770551880137843'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-sql-server-agent.html' title='What is SQL server agent?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-460955625608039217</id><published>2008-05-10T14:56:00.001+05:30</published><updated>2008-05-10T14:56:31.611+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>Can a stored procedure call itself or recursive stored procedure? How many level SP nesting</title><content type='html'>Can a stored procedure call itself or recursive stored procedure? How many level SP nesting&lt;br /&gt;possible?&lt;br /&gt;&lt;br /&gt;Ans:&lt;br /&gt;&lt;br /&gt;Yes. Because Transact-SQL supports recursion, you can write stored procedures that call themselves.&lt;br /&gt;Recursion can be defined as a method of problem solving wherein the solution is arrived at by&lt;br /&gt;repetitively applying it to subsets of the problem. A common application of recursive logic is to perform&lt;br /&gt;numeric computations that lend themselves to repetitive evaluation by the same processing steps.&lt;br /&gt;Stored procedures are nested when one stored procedure calls another or executes managed code by&lt;br /&gt;referencing a CLR routine, type, or aggregate. You can nest stored procedures and managed code&lt;br /&gt;references up to 32 levels.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-460955625608039217?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/460955625608039217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=460955625608039217' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/460955625608039217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/460955625608039217'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/can-stored-procedure-call-itself-or.html' title='Can a stored procedure call itself or recursive stored procedure? How many level SP nesting'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-937671252246505661</id><published>2008-05-10T14:55:00.004+05:30</published><updated>2008-05-10T14:56:08.462+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is @@ERROR?</title><content type='html'>The @@ERROR automatic variable returns the error code of the last Transact-SQL statement. If there&lt;br /&gt;was no error, @@ERROR returns zero. Because @@ERROR is reset after each Transact-SQL statement,&lt;br /&gt;it must be saved to a variable if it is needed to process it further after checking it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-937671252246505661?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/937671252246505661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=937671252246505661' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/937671252246505661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/937671252246505661'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-error.html' title='What is @@ERROR?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-2157709573727532851</id><published>2008-05-10T14:55:00.003+05:30</published><updated>2008-05-10T14:55:46.664+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is Raiseerror?</title><content type='html'>Stored procedures report errors to client applications via the RAISERROR command. RAISERROR&lt;br /&gt;doesn't change the flow of a procedure; it merely displays an error message, sets the @@ERROR&lt;br /&gt;automatic variable, and optionally writes the message to the SQL Server error log and the NT&lt;br /&gt;application event log.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-2157709573727532851?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/2157709573727532851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=2157709573727532851' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2157709573727532851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2157709573727532851'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-raiseerror.html' title='What is Raiseerror?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-7006087657480971592</id><published>2008-05-10T14:55:00.001+05:30</published><updated>2008-05-10T14:55:28.589+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is log shipping?</title><content type='html'>Log shipping is the process of automating the backup of database and transaction log files on a&lt;br /&gt;production SQL server, and then restoring them onto a standby server. Enterprise Editions only&lt;br /&gt;supports log shipping. In log shipping the transactional log file from one server is automatically updated&lt;br /&gt;into the backup database on the other server. If one server fails, the other server will have the same db&lt;br /&gt;can be used this as the Disaster Recovery plan. The key feature of log shipping is that is will&lt;br /&gt;automatically backup transaction logs throughout the day and automatically restore them on the&lt;br /&gt;standby server at defined interval.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-7006087657480971592?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/7006087657480971592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=7006087657480971592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7006087657480971592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7006087657480971592'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-log-shipping.html' title='What is log shipping?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-8081523916553930893</id><published>2008-05-10T14:54:00.004+05:30</published><updated>2008-05-10T14:55:10.057+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is the difference between a local and a global variable?</title><content type='html'>A local temporary table exists only for the duration of a connection or, if defined inside a compound&lt;br /&gt;statement, for the duration of the compound statement.&lt;br /&gt;A global temporary table remains in the database permanently, but the rows exist only within a given&lt;br /&gt;connection. When connection are closed, the data in the global temporary table disappears. However,&lt;br /&gt;the table definition remains with the database for access when database is opened next time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-8081523916553930893?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/8081523916553930893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=8081523916553930893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/8081523916553930893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/8081523916553930893'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-difference-between-local-and.html' title='What is the difference between a local and a global variable?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-3250409019877765642</id><published>2008-05-10T14:54:00.003+05:30</published><updated>2008-05-10T14:54:50.053+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What command do we use to rename a db?</title><content type='html'>sp_renamedb ‘oldname’ , ‘newname’&lt;br /&gt;If someone is using db it will not accept sp_renmaedb. In that case first bring db to single user using&lt;br /&gt;sp_dboptions. Use sp_renamedb to rename database. Use sp_dboptions to bring database to multi user&lt;br /&gt;mode.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-3250409019877765642?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/3250409019877765642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=3250409019877765642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/3250409019877765642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/3250409019877765642'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-command-do-we-use-to-rename-db.html' title='What command do we use to rename a db?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-103916774984393574</id><published>2008-05-10T14:54:00.001+05:30</published><updated>2008-05-10T14:54:31.769+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is sp_configure commands and set commands?</title><content type='html'>Use sp_configure to display or change server-level settings. To change database-level settings, use&lt;br /&gt;ALTER DATABASE. To change settings that affect only the current user session, use the SET statement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-103916774984393574?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/103916774984393574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=103916774984393574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/103916774984393574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/103916774984393574'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-spconfigure-commands-and-set.html' title='What is sp_configure commands and set commands?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-2386298157302298202</id><published>2008-05-10T14:53:00.002+05:30</published><updated>2008-05-10T14:54:06.010+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What are the different types of replication? Explain.</title><content type='html'>The SQL Server 2000-supported replication types are as follows:&lt;br /&gt;· Transactional&lt;br /&gt;· Snapshot&lt;br /&gt;· Merge&lt;br /&gt;Snapshot replication distributes data exactly as it appears at a specific moment in time and does not&lt;br /&gt;monitor for updates to the data. Snapshot replication is best used as a method for replicating data that&lt;br /&gt;changes infrequently or where the most up-to-date values (low latency) are not a requirement. When&lt;br /&gt;synchronization occurs, the entire snapshot is generated and sent to Subscribers.&lt;br /&gt;Transactional replication, an initial snapshot of data is applied at Subscribers, and then when data&lt;br /&gt;modifications are made at the Publisher, the individual transactions are captured and propagated to&lt;br /&gt;Subscribers.&lt;br /&gt;Merge replication is the process of distributing data from Publisher to Subscribers, allowing the&lt;br /&gt;Publisher and Subscribers to make updates while connected or disconnected, and then merging the&lt;br /&gt;updates between sites when they are connected.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-2386298157302298202?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/2386298157302298202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=2386298157302298202' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2386298157302298202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2386298157302298202'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-are-different-types-of-replication.html' title='What are the different types of replication? Explain.'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-6630246317126089168</id><published>2008-05-10T14:53:00.001+05:30</published><updated>2008-05-10T14:53:33.974+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What are the OS services that the SQL Server installation adds?</title><content type='html'>MS SQL SERVER SERVICE, SQL AGENT SERVICE, DTC (Distribution transac co-ordinator)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-6630246317126089168?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/6630246317126089168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=6630246317126089168' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/6630246317126089168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/6630246317126089168'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-are-os-services-that-sql-server.html' title='What are the OS services that the SQL Server installation adds?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-3414641704015025572</id><published>2008-05-10T14:52:00.002+05:30</published><updated>2008-05-10T14:53:13.002+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What are three SQL keywords used to change or set someone’s permissions?</title><content type='html'>GRANT, DENY, and REVOKE.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-3414641704015025572?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/3414641704015025572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=3414641704015025572' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/3414641704015025572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/3414641704015025572'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-are-three-sql-keywords-used-to.html' title='What are three SQL keywords used to change or set someone’s permissions?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-7597808422092653302</id><published>2008-05-10T14:52:00.001+05:30</published><updated>2008-05-10T14:52:53.320+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What does it mean to have quoted_identifier on? What are the implications of having it off?</title><content type='html'>When SET QUOTED_IDENTIFIER is ON, identifiers can be delimited by double quotation marks, and&lt;br /&gt;literals must be delimited by single quotation marks. When SET QUOTED_IDENTIFIER is OFF, identifiers&lt;br /&gt;cannot be quoted and must follow all Transact-SQL rules for identifiers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-7597808422092653302?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/7597808422092653302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=7597808422092653302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7597808422092653302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7597808422092653302'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-does-it-mean-to-have.html' title='What does it mean to have quoted_identifier on? What are the implications of having it off?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-4095538568697522802</id><published>2008-05-10T14:51:00.004+05:30</published><updated>2008-05-10T14:52:14.929+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is the STUFF function and how does it differ from the REPLACE function?</title><content type='html'>STUFF function to overwrite existing characters. Using this syntax, STUFF(string_expression, start,&lt;br /&gt;length, replacement_characters), string_expression is the string that will have characters substituted,&lt;br /&gt;start is the starting position, length is the number of characters in the string that are substituted, and&lt;br /&gt;replacement_characters are the new characters interjected into the string.&lt;br /&gt;REPLACE function to replace existing characters of all occurance. Using this syntax&lt;br /&gt;REPLACE(string_expression, search_string, replacement_string), where every incidence of&lt;br /&gt;search_string found in the string_expression will be replaced with replacement_string.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-4095538568697522802?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/4095538568697522802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=4095538568697522802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/4095538568697522802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/4095538568697522802'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-stuff-function-and-how-does-it.html' title='What is the STUFF function and how does it differ from the REPLACE function?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-2013906412084808071</id><published>2008-05-10T14:51:00.003+05:30</published><updated>2008-05-10T14:51:53.283+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>Using query analyzer, name 3 ways to get an accurate count of the number of records in a</title><content type='html'>Using query analyzer, name 3 ways to get an accurate count of the number of records in a&lt;br /&gt;table?&lt;br /&gt;&lt;br /&gt;ANS:&lt;br /&gt;&lt;br /&gt;SELECT * FROM table1&lt;br /&gt;SELECT COUNT(*) FROM table1&lt;br /&gt;SELECT rows FROM sysindexes WHERE id = OBJECT_ID(table1) AND indid &lt; 2&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-2013906412084808071?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/2013906412084808071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=2013906412084808071' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2013906412084808071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2013906412084808071'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/using-query-analyzer-name-3-ways-to-get.html' title='Using query analyzer, name 3 ways to get an accurate count of the number of records in a'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-3552086356417739059</id><published>2008-05-10T14:51:00.001+05:30</published><updated>2008-05-10T14:51:28.793+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>How to rebuild Master Database?</title><content type='html'>Shutdown Microsoft SQL Server 2000, and then run Rebuildm.exe. This is located in the Program&lt;br /&gt;Files\Microsoft SQL Server\80\Tools\Binn directory.&lt;br /&gt;In the Rebuild Master dialog box, click Browse.&lt;br /&gt;In the Browse for Folder dialog box, select the \Data folder on the SQL Server 2000 compact disc or in&lt;br /&gt;the shared network directory from which SQL Server 2000 was installed, and then click OK.&lt;br /&gt;Click Settings. In the Collation Settings dialog box, verify or change settings used for the master&lt;br /&gt;database and all other databases.&lt;br /&gt;Initially, the default collation settings are shown, but these may not match the collation selected during&lt;br /&gt;setup. You can select the same settings used during setup or select new collation settings. When done,&lt;br /&gt;click OK.&lt;br /&gt;In the Rebuild Master dialog box, click Rebuild to start the process.&lt;br /&gt;The Rebuild Master utility reinstalls the master database.&lt;br /&gt;To continue, you may need to stop a server that is running.&lt;br /&gt;Source: http://msdn2.microsoft.com/en-us/library/aa197950(SQL.80).aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-3552086356417739059?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/3552086356417739059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=3552086356417739059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/3552086356417739059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/3552086356417739059'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/how-to-rebuild-master-database.html' title='How to rebuild Master Database?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-2614841923993868054</id><published>2008-05-10T14:50:00.003+05:30</published><updated>2008-05-10T14:50:57.046+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is the basic functions for master, msdb, model, tempdb databases?</title><content type='html'>The &lt;span style="font-weight: bold;"&gt;Master&lt;/span&gt; database holds information for all databases located on the SQL Server instance and is the&lt;br /&gt;glue that holds the engine together. Because SQL Server cannot start without a functioning master&lt;br /&gt;database, you must administer this database with care.&lt;br /&gt;The &lt;span style="font-weight: bold;"&gt;msdb&lt;/span&gt; database stores information regarding database backups, SQL Agent information, DTS&lt;br /&gt;packages, SQL Server jobs, and some replication information such as for log shipping.&lt;br /&gt;The &lt;span style="font-weight: bold;"&gt;tempdb&lt;/span&gt; holds temporary objects such as global and local temporary tables and stored procedures.&lt;br /&gt;The &lt;span style="font-weight: bold;"&gt;model&lt;/span&gt; is essentially a template database used in the creation of any new user database created in&lt;br /&gt;the instance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-2614841923993868054?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/2614841923993868054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=2614841923993868054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2614841923993868054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2614841923993868054'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-basic-functions-for-master-msdb.html' title='What is the basic functions for master, msdb, model, tempdb databases?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-1496887320061240212</id><published>2008-05-10T14:50:00.001+05:30</published><updated>2008-05-10T14:50:35.358+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What are primary keys and foreign keys?</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Primary keys&lt;/span&gt; are the unique identifiers for each row. They must contain unique values and cannot be&lt;br /&gt;null. Due to their importance in relational databases, Primary keys are the most fundamental of all keys&lt;br /&gt;and constraints. A table can have only one Primary key.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Foreign keys&lt;/span&gt; are both a method of ensuring data integrity and a manifestation of the relationship&lt;br /&gt;between tables.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-1496887320061240212?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/1496887320061240212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=1496887320061240212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/1496887320061240212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/1496887320061240212'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-are-primary-keys-and-foreign-keys.html' title='What are primary keys and foreign keys?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-4544615330095322941</id><published>2008-05-10T14:49:00.000+05:30</published><updated>2008-05-10T14:50:04.150+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is data integrity? Explain constraints?</title><content type='html'>Data integrity is an important feature in SQL Server. When used properly, it ensures that data is&lt;br /&gt;accurate, correct, and valid. It also acts as a trap for otherwise undetectable bugs within applications.&lt;br /&gt;A &lt;span style="font-weight: bold;"&gt;PRIMARY KEY&lt;/span&gt; constraint is a unique identifier for a row within a database table. Every table should&lt;br /&gt;have a primary key constraint to uniquely identify each row and only one primary key constraint can be&lt;br /&gt;created for each table. The primary key constraints are used to enforce entity integrity.&lt;br /&gt;A &lt;span style="font-weight: bold;"&gt;UNIQUE&lt;/span&gt; constraint enforces the uniqueness of the values in a set of columns, so no duplicate values&lt;br /&gt;are entered. The unique key constraints are used to enforce entity integrity as the primary key&lt;br /&gt;constraints.&lt;br /&gt;A &lt;span style="font-weight: bold;"&gt;FOREIGN KEY&lt;/span&gt; constraint prevents any actions that would destroy links between tables with the&lt;br /&gt;corresponding data values. A foreign key in one table points to a primary key in another table. Foreign&lt;br /&gt;keys prevent actions that would leave rows with foreign key values when there are no primary keys&lt;br /&gt;with that value. The foreign key constraints are used to enforce referential integrity.&lt;br /&gt;A &lt;span style="font-weight: bold;"&gt;CHECK&lt;/span&gt; constraint is used to limit the values that can be placed in a column. The check constraints&lt;br /&gt;are used to enforce domain integrity.&lt;br /&gt;A &lt;span style="font-weight: bold;"&gt;NOT NULL&lt;/span&gt; constraint enforces that the column will not accept null values. The not null constraints&lt;br /&gt;are used to enforce domain integrity, as the check constraints.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-4544615330095322941?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/4544615330095322941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=4544615330095322941' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/4544615330095322941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/4544615330095322941'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-is-data-integrity-explain.html' title='What is data integrity? Explain constraints?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-7456932543353962619</id><published>2008-05-10T14:48:00.000+05:30</published><updated>2008-05-10T14:49:11.996+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What are the properties of the Relational tables?</title><content type='html'>Relational tables have six properties:&lt;br /&gt;· Values are atomic.&lt;br /&gt;· Column values are of the same kind.&lt;br /&gt;· Each row is unique.&lt;br /&gt;· The sequence of columns is insignificant.&lt;br /&gt;· The sequence of rows is insignificant.&lt;br /&gt;· Each column must have a unique name.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-7456932543353962619?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/7456932543353962619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=7456932543353962619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7456932543353962619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7456932543353962619'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/05/what-are-properties-of-relational.html' title='What are the properties of the Relational tables?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-6593689264669318129</id><published>2008-04-18T16:38:00.001+05:30</published><updated>2008-04-18T16:38:33.980+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is De-normalization?</title><content type='html'>De-normalization is the process of attempting to optimize the performance of a database by adding&lt;br /&gt;redundant data. It is sometimes necessary because current DBMSs implement the relational model&lt;br /&gt;poorly. A true relational DBMS would allow for a fully normalized database at the logical level, while&lt;br /&gt;providing physical storage of data that is tuned for high performance. De-normalization is a technique&lt;br /&gt;to move from higher to lower normal forms of database modeling in order to speed up database access.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-6593689264669318129?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/6593689264669318129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=6593689264669318129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/6593689264669318129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/6593689264669318129'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/04/what-is-de-normalization.html' title='What is De-normalization?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-8016640759701220632</id><published>2008-04-18T16:37:00.005+05:30</published><updated>2008-04-18T16:37:56.393+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>How to get @@error and @@rowcount at the same time?</title><content type='html'>If @@Rowcount is checked after Error checking statement then it will have 0 as the value of&lt;br /&gt;@@Recordcount as it would have been reset.&lt;br /&gt;And if @@Recordcount is checked before the error-checking statement then @@Error would get reset.&lt;br /&gt;To get @@error and @@rowcount at the same time do both in same statement and store them in local&lt;br /&gt;variable. SELECT @RC = @@ROWCOUNT, @ER = @@ERROR&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-8016640759701220632?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/8016640759701220632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=8016640759701220632' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/8016640759701220632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/8016640759701220632'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/04/how-to-get-error-and-rowcount-at-same.html' title='How to get @@error and @@rowcount at the same time?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-7896000329579298990</id><published>2008-04-18T16:37:00.003+05:30</published><updated>2008-04-18T16:37:38.747+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is Identity?</title><content type='html'>Identity (or AutoNumber) is a column that automatically generates numeric values. A start and&lt;br /&gt;increment value can be set, but most DBA leave these at 1. A GUID column also generates numbers,&lt;br /&gt;the value of this cannot be controled. Identity/GUID columns do not need to be indexed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-7896000329579298990?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/7896000329579298990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=7896000329579298990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7896000329579298990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/7896000329579298990'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/04/what-is-identity.html' title='What is Identity?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-2512725246650402355</id><published>2008-04-18T16:37:00.001+05:30</published><updated>2008-04-18T16:37:25.572+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is a Scheduled Jobs or What is a Scheduled Tasks?</title><content type='html'>Scheduled tasks let user automate processes that run on regular or predictable cycles. User can&lt;br /&gt;schedule administrative tasks, such as cube processing, to run during times of slow business activity.&lt;br /&gt;User can also determine the order in which tasks run by creating job steps within a SQL Server Agent&lt;br /&gt;job. E.g. Back up database, Update Stats of Tables. Job steps give user control over flow of execution.&lt;br /&gt;&lt;br /&gt;If one job fails, user can configure SQL Server Agent to continue to run the remaining tasks or to stop&lt;br /&gt;execution.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-2512725246650402355?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/2512725246650402355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=2512725246650402355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2512725246650402355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/2512725246650402355'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/04/what-is-scheduled-jobs-or-what-is.html' title='What is a Scheduled Jobs or What is a Scheduled Tasks?'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7386334741025822419.post-1712935097122088921</id><published>2008-04-18T16:36:00.004+05:30</published><updated>2008-04-18T16:37:09.228+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Interview Questions'/><title type='text'>What is a table called, if it does not have neither Cluster nor Non-cluster Index? What is it</title><content type='html'>What is a table called, if it does not have neither Cluster nor Non-cluster Index? What is it&lt;br /&gt;used for?&lt;br /&gt;&lt;br /&gt;Ans:&lt;br /&gt;&lt;br /&gt;Unindexed table or Heap. Microsoft Press Books and Book On Line (BOL) refers it as Heap.&lt;br /&gt;A heap is a table that does not have a clustered index and, therefore, the pages are not linked by&lt;br /&gt;pointers. The IAM pages are the only structures that link the pages in a table together.&lt;br /&gt;Unindexed tables are good for fast storing of data. Many times it is better to drop all indexes from table&lt;br /&gt;and than do bulk of inserts and to restore those indexes after that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7386334741025822419-1712935097122088921?l=oracleliveinfo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracleliveinfo.blogspot.com/feeds/1712935097122088921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7386334741025822419&amp;postID=1712935097122088921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/1712935097122088921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7386334741025822419/posts/default/1712935097122088921'/><link rel='alternate' type='text/html' href='http://oracleliveinfo.blogspot.com/2008/04/what-is-table-called-if-it-does-not.html' title='What is a table called, if it does not have neither Cluster nor Non-cluster Index? What is it'/><author><name>Educational Information</name><uri>http://www.blogger.com/profile/00157171674583777374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='05952304242252076499'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>