<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CEYCSX8-fip7ImA9WhBUGE8.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294</id><updated>2013-05-06T12:06:08.156+05:30</updated><category term="HTTP Module" /><category term="MVC" /><category term="SQL" /><category term="Asp.Net" /><category term="JAVA-SCRIPT" /><category term="mvc in asp" /><category term="Alternate key" /><category term="MVC Class" /><category term="DOTNET" /><category term="Primary Key" /><category term="sql questions and answers" /><category term="VB.NET" /><category term="Candidate Key" /><category term="Oracle" /><category term="mvc aspnet" /><category term="interview questions of MVC interview question for MVC" /><category term="SQL-Server" /><category term="HTTP Handler" /><category term="Model Class" /><category term="Configuration" /><category term="C#" /><category term="Utility" /><category term="job interview questions" /><category term="WEB SERVICE" /><category term="WCF" /><category term="Temporary Tables" /><category term="Composite Key" /><category term="object oriented" /><category term="OOPS" /><category term="HTML" /><category term="Foreign Key" /><category term="object based programming language" /><category term="Unique Key" /><category term="SQL-Server 2005" /><category term="Silverlight" /><category term="Class MVC" /><title>DevHelp</title><subtitle type="html">By the Developer, For the Developer.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.thedevheaven.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>75</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/thedevheaven/eXbp" /><feedburner:info uri="thedevheaven/exbp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CkUMSXw5eyp7ImA9WhBUGE8.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-8742313701254258863</id><published>2013-05-06T11:34:00.000+05:30</published><updated>2013-05-06T11:34:48.223+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-05-06T11:34:48.223+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="OOPS" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="object oriented" /><category scheme="http://www.blogger.com/atom/ns#" term="object based programming language" /><title>object oriented vs object based programming language</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;br /&gt;
Object Base Language Not Support &lt;b&gt;Inheritance &amp;amp; Polimorphisum&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Object-Based Programming usually refers to objects without inheritance and without polymorphism, These languages support abstract data types and not classes,which provide inheritance and polymorphism.&lt;br /&gt;
&lt;br /&gt;
however,support both inheritance and polymorphism and they are object-oriented.&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/PeTCYlnGVhc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/8742313701254258863/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/05/object-oriented-vs-object-based.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8742313701254258863?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8742313701254258863?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/PeTCYlnGVhc/object-oriented-vs-object-based.html" title="object oriented vs object based programming language" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/05/object-oriented-vs-object-based.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIGQX46eCp7ImA9WhBUGEw.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-2742205613719952774</id><published>2013-05-06T10:48:00.000+05:30</published><updated>2013-05-06T10:48:40.010+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-05-06T10:48:40.010+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Primary Key" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server" /><category scheme="http://www.blogger.com/atom/ns#" term="sql questions and answers" /><category scheme="http://www.blogger.com/atom/ns#" term="Composite Key" /><category scheme="http://www.blogger.com/atom/ns#" term="Foreign Key" /><category scheme="http://www.blogger.com/atom/ns#" term="Unique Key" /><category scheme="http://www.blogger.com/atom/ns#" term="Candidate Key" /><category scheme="http://www.blogger.com/atom/ns#" term="Alternate key" /><title>Candidate Key Vs Primary Key Vs Alternate key Vs Composite Key Vs Unique Key VsForeign Key</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;b&gt;Candidate Key&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
A Candidate Key is a set of one or more fields/columns that can identify a record uniquely in a table. There can be multiple Candidate Keys in one table. Each &lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Candidate Key can work as Primary Key.&lt;br /&gt;
Example: In Student Table RollNo and EnrollNo are Candidate Keys since &amp;nbsp;these fields can be work as Primary Key.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Primary Key&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Primary key is a set of one or more fields/columns of a table that uniquely identify a record in database table. It can not accept null, duplicate values. Only one Candidate Key can be Primary Key.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Alternate key&lt;/b&gt;&lt;br /&gt;
A Alternate key is a key that can be work as a primary key. Basically it is a candidate key that currently is not primary key.Example: In &amp;nbsp;RollNo and EnrollNo, RollNo becomes Alternate Keys when we define EnrollNo as Primary Key.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Composite/Compound Key&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Composite Key is a combination of more than one fields/columns of a table. It can be a Candidate key, Primary key.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Unique Key&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Uniquekey is a set of one or more fields/columns of a table that uniquely identify a record in database table. It is like Primary key but it can accept only one null value and it can not have duplicate values.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Foreign Key&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Foreign Key is a field in table that is Primary key in another table. It can accept multiple null, duplicate values. Example : We can have a Emp_Id column in the Employee table which is pointing to&amp;nbsp;Emp_Id&amp;nbsp;column in a department table where it a foreign key.&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/dJrDhGw0rNc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/2742205613719952774/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/05/candidate-key-vs-primary-key-vs.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/2742205613719952774?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/2742205613719952774?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/dJrDhGw0rNc/candidate-key-vs-primary-key-vs.html" title="Candidate Key Vs Primary Key Vs Alternate key Vs Composite Key Vs Unique Key VsForeign Key" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/05/candidate-key-vs-primary-key-vs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4ESHs6fSp7ImA9WhBUEU4.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-356424366559978454</id><published>2013-04-28T12:31:00.001+05:30</published><updated>2013-04-28T12:55:09.515+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-28T12:55:09.515+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MVC" /><category scheme="http://www.blogger.com/atom/ns#" term="job interview questions" /><category scheme="http://www.blogger.com/atom/ns#" term="mvc aspnet" /><category scheme="http://www.blogger.com/atom/ns#" term="interview questions of MVC interview question for MVC" /><category scheme="http://www.blogger.com/atom/ns#" term="mvc in asp" /><title>Interview questions of MVC (Part-1)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
Q:What are the 3 main components of an ASP.NET MVC application?&lt;br /&gt;
A1. M - Model&lt;br /&gt;
&amp;nbsp;2. V - View&lt;br /&gt;
&amp;nbsp;3. C - Controller&lt;br /&gt;
&lt;br /&gt;
Q:In which assembly is the MVC framework defined?&lt;br /&gt;
A:System.Web.Mvc&lt;br /&gt;
&lt;br /&gt;
Q:Is it possible to combine ASP.NET webforms and ASP.MVC and develop a single &lt;br /&gt;&amp;nbsp; &amp;nbsp; web application?&lt;br /&gt;
A:Yes, it is possible to combine ASP.NET webforms and ASP.MVC and develop a single &lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;web application.&lt;br /&gt;
&lt;br /&gt;
Q:What does Model, View and Controller represent in an MVC application?&lt;br /&gt;
A:Model: Model represents the application data domain. In short the applications business logic is &lt;br /&gt;&amp;nbsp; &amp;nbsp; contained with in the model.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; View: Views represent the user interface, with which the end users interact. In short the all the user&lt;br /&gt;
&amp;nbsp; &amp;nbsp; interface logic is contained with in the UI.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Controller: Controller is the component that responds to user actions. Based on the user actions,&lt;br /&gt;
&amp;nbsp; the respective controller, work with the model, and selects a view to render that displays the user&lt;br /&gt;
&amp;nbsp; interface. The user input logic is contained with in the controller.&lt;br /&gt;
&lt;br /&gt;
Q:What is the greatest advantage of using asp.net mvc over asp.net webforms?&lt;br /&gt;
A:It is difficult to unit test UI with webforms, where views in mvc can be very easily unit tested.&lt;br /&gt;
&lt;br /&gt;
Q:Which approach provides better support for test driven development - ASP.NET MVC or &lt;br /&gt;&amp;nbsp; &amp;nbsp; ASP.NET Webforms?&lt;br /&gt;
A:ASP.NET MVC&lt;br /&gt;
&lt;br /&gt;
Q:What are the advantages of ASP.NET MVC?&lt;br /&gt;
A:1. Extensive support for TDD. With asp.net MVC, views can also be very easily unit tested.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;2. Complex applications can be easily managed&lt;br /&gt;
&amp;nbsp; &amp;nbsp;3. Seperation of concerns. Different aspects of the application can be divided into Model, View&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;and Controller.&lt;br /&gt;
&amp;nbsp; 4. ASP.NET MVC views are light weight, as they donot use viewstate.&lt;br /&gt;
&lt;br /&gt;
Q:Is it possible to unit test an MVC application without running the controllers in an ASP.NET&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;process?&lt;br /&gt;
A:Yes, all the features in an asp.net MVC application are interface based and hence mocking is&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;much easier.So, we don't have to run the controllers in an ASP.NET process for unit testing.&lt;br /&gt;
&lt;br /&gt;
Q:Is it possible to share a view across multiple controllers?&lt;br /&gt;
A:Yes, put the view into the shared folder. This will automatically make the view available across&lt;br /&gt;
&amp;nbsp; &amp;nbsp; multiple controllers.&lt;br /&gt;
&lt;br /&gt;
Q:What is the role of a controller in an MVC application?&lt;br /&gt;
A:The controller responds to user interactions, with the application, by selecting the action method&lt;br /&gt;
&amp;nbsp; &amp;nbsp; to execute and alse selecting the view to render.&lt;br /&gt;
&lt;br /&gt;
Q:Where are the routing rules defined in an asp.net MVC application?&lt;br /&gt;
A:In Application_Start event in Global.asax&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/bcG1pzyx4ZA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/356424366559978454/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/interview-questions-of-mvc-part-1.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/356424366559978454?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/356424366559978454?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/bcG1pzyx4ZA/interview-questions-of-mvc-part-1.html" title="Interview questions of MVC (Part-1)" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/interview-questions-of-mvc-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UHSHozfip7ImA9WhBVFk0.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-8530884990731958020</id><published>2013-04-22T11:10:00.000+05:30</published><updated>2013-04-22T11:10:39.486+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-22T11:10:39.486+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Class MVC" /><category scheme="http://www.blogger.com/atom/ns#" term="MVC" /><category scheme="http://www.blogger.com/atom/ns#" term="Model Class" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net" /><category scheme="http://www.blogger.com/atom/ns#" term="MVC Class" /><title>ViewModel in MVC</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
ViewModel is a complex object that may contain multiple entities or objects from different data models or data source.&lt;br /&gt;
&lt;br /&gt;
ViewModel contain fields that are represented in the view (for LabelFor,EditorFor,DisplayFor helpers)&lt;br /&gt;
ViewModel can have specific validation rules using data annotations or IDataErrorInfo.&lt;br /&gt;
ViewModel can have multiple entities or objects from different data models or data source.&lt;br /&gt;
&lt;br /&gt;
In ViewModel put only those fields/data that you want to display on the view/page.&lt;br /&gt;
Since view reperesents the properties of the ViewModel, hence it is easy for rendering and maintenance.&lt;br /&gt;
Use a mapper when ViewModel become more complex.&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/UN_cBfOI92I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/8530884990731958020/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/viewmodel-in-mvc.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8530884990731958020?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8530884990731958020?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/UN_cBfOI92I/viewmodel-in-mvc.html" title="ViewModel in MVC" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/viewmodel-in-mvc.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEGR346cSp7ImA9WhBVFk0.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-4004062656905158747</id><published>2013-04-22T10:58:00.000+05:30</published><updated>2013-04-22T11:00:26.019+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-22T11:00:26.019+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net" /><category scheme="http://www.blogger.com/atom/ns#" term="HTTP Module" /><category scheme="http://www.blogger.com/atom/ns#" term="HTTP Handler" /><title>HTTP Handler Vs HTTP Module</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;HTTP Handler :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
HTTP handlers are the .NET components that implement the System.Web.IHttpHandler interface. Any class that implements the IHttpHandler interface can act as a target for the incoming HTTP requests. HTTP handlers are somewhat similar to ISAPI extensions. One difference between HTTP handlers and ISAPI extensions is that HTTP handlers can be called directly by using their file name in the URL.&lt;br /&gt;
&lt;br /&gt;
HttpHandler is a extension based processor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;HTTP Module :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Http modules are called before and after the http handler executes. Http modules enable developers to participate in, or modify each individual request. Http modules implement the IHttpModule interface, which is located in the System.Web namespace.&lt;br /&gt;
&lt;br /&gt;
HttpModule is event based processor.&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/oj98MPc1eQU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/4004062656905158747/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/http-handler-vs-http-module.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/4004062656905158747?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/4004062656905158747?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/oj98MPc1eQU/http-handler-vs-http-module.html" title="HTTP Handler Vs HTTP Module" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/http-handler-vs-http-module.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIHSX4_cCp7ImA9WhBWFU0.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-6964261935735132647</id><published>2013-04-09T17:25:00.000+05:30</published><updated>2013-04-09T17:25:38.048+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-09T17:25:38.048+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="VB.NET" /><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><title>Bind vs Eval (Data Binder)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
The data values can be retrieved with the Eval method – they cannot be modified or deleted.&lt;br /&gt;
&lt;br /&gt;
The Bind method on the other hand allows for the data-bound controls to be modified in addition to retrieval, and hence is preferred over Eval method.&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/JVZnSY9Haww" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/6964261935735132647/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/bind-vs-eval-data-binder.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/6964261935735132647?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/6964261935735132647?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/JVZnSY9Haww/bind-vs-eval-data-binder.html" title="Bind vs Eval (Data Binder)" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/bind-vs-eval-data-binder.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYMQ3sycSp7ImA9WhBWFU0.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-748567431478739148</id><published>2013-04-09T17:19:00.000+05:30</published><updated>2013-04-09T17:19:42.599+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-09T17:19:42.599+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Cast and Convert</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
1.CAST and CONVERT are two SQL functions used by programmers to convert one data type to another.&lt;br /&gt;
&lt;br /&gt;
2.The CAST function is ANSI standard and is compatible to use in other databases while the CONVERT function is a specific function of the SQL server.&lt;br /&gt;
&lt;br /&gt;
3.Since the CAST function is compatible with other databases, it is also described as portable though it has fewer features compared to the CONVERT function. The CONVERT function, meanwhile, can do some things that the CAST function cannot.&lt;br /&gt;
&lt;br /&gt;
4.The CAST function is used to convert a data type without a specific format. The CONVERT function does converting and formatting data types at the same time.&lt;br /&gt;
&lt;br /&gt;
5.In terms of syntax, both functions have the optional parameter of length. In the CONVERT function, there is an additional parameter called style which specifies the format of the data type after conversion.&lt;br /&gt;
&lt;br /&gt;
6.The CAST function is often used to preserve decimal values and places while converting them into integers. The function can also truncate the decimal value if needed. The CONVERT function cannot perform this task.&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/uK7H-8ZzW2M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/748567431478739148/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/cast-and-convert.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/748567431478739148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/748567431478739148?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/uK7H-8ZzW2M/cast-and-convert.html" title="Cast and Convert" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/cast-and-convert.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EERHk_fip7ImA9WhBWFEU.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-7189549137187024175</id><published>2013-04-07T20:23:00.000+05:30</published><updated>2013-04-09T12:10:05.746+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-09T12:10:05.746+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><category scheme="http://www.blogger.com/atom/ns#" term="Temporary Tables" /><title>Miscellaneous Features of Global Temporary Tables</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;If the TRUNCATE statement is issued against a temporary table, only the session specific data is &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;truncated. There is no affect on the data of other sessions.&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Data in temporary tables is stored in temp segments in the temp tablespace.&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Data in temporary tables is automatically deleted at the end of the database session, even if it ends&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; abnormally.&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Indexes can be created on temporary tables. The content of the index and the scope of the index is the&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; same as the database session.&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Views can be created against temporary tables and combinations of temporary and permanent tables.&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Temporary tables can have triggers associated with them.&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Export and Import utilities can be used to transfer the table definitions, but no data rows are processed.&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;Statistics on temporary tables are common to all sessions. Oracle 12c allows session specific statistics.&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;There are a number of restrictions related to temporary tables but these are version specific.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/v02IQl0nqlQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/7189549137187024175/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/miscellaneous-features-of-global.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/7189549137187024175?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/7189549137187024175?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/v02IQl0nqlQ/miscellaneous-features-of-global.html" title="Miscellaneous Features of Global Temporary Tables" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/miscellaneous-features-of-global.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMMQX0yfSp7ImA9WhBWE0k.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-4315822194755607027</id><published>2013-04-07T20:20:00.000+05:30</published><updated>2013-04-07T20:24:40.395+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-07T20:24:40.395+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><category scheme="http://www.blogger.com/atom/ns#" term="Temporary Tables" /><title>Restrictions on Declared Global Temporary Tables</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
You cannot use the following features with temporary tables:&lt;br /&gt;
&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Synonyms, triggers and views on SESSION schema tables (including physical tables and temporary&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tables)&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Caching statements that reference SESSION schema tables and views&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Temporary tables cannot be specified in referential constraints and primary keys&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Temporary tables cannot be referenced in a triggered-SQL-statement&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Check constraints on columns&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Generated-column-spec&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Importing into temporary tables&lt;br /&gt;
&lt;br /&gt;
If a statement that performs an insert, update, or delete to the temporary table encounters an error, all the rows of the temporary table are deleted.&lt;br /&gt;
&lt;br /&gt;
The following data types cannot be used with Declared Global Temporary Tables:&lt;br /&gt;
&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;BLOB&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;CHAR FOR BIT DATA&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;CLOB&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;LONG VARCHAR&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;LONG VARCHAR FOR BIT DATA&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;VARCHAR FOR BIT DATA&lt;br /&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;XML&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/_39GmNDLOQg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/4315822194755607027/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/restrictions-on-declared-global.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/4315822194755607027?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/4315822194755607027?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/_39GmNDLOQg/restrictions-on-declared-global.html" title="Restrictions on Declared Global Temporary Tables" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/restrictions-on-declared-global.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcNRH04eSp7ImA9WhBWE0k.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-7695659091973389151</id><published>2013-04-07T20:18:00.000+05:30</published><updated>2013-04-07T20:18:15.331+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-07T20:18:15.331+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><category scheme="http://www.blogger.com/atom/ns#" term="Temporary Tables" /><title>Creation of Global Temporary Tables</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
The data in a global temporary table is private, such that data inserted by a session can only be accessed by that session. The session-specific rows in a global temporary table can be preserved for the whole session, or just for the current transaction. The ON COMMIT DELETE ROWS clause indicates that the data should be deleted at the end of the transaction.&lt;br /&gt;
&lt;br /&gt;
CREATE GLOBAL TEMPORARY TABLE temp_tab (&lt;br /&gt;
&amp;nbsp; column1 &amp;nbsp;NUMBER,&lt;br /&gt;
&amp;nbsp; column2 &amp;nbsp;NUMBER&lt;br /&gt;
) ON COMMIT DELETE ROWS;&lt;br /&gt;
&lt;br /&gt;
In contrast, the ON COMMIT PRESERVE ROWS clause indicates that rows should be preserved until the end of the session.&lt;br /&gt;
&lt;br /&gt;
CREATE GLOBAL TEMPORARY TABLE temp_tab (&lt;br /&gt;
&amp;nbsp; column1 &amp;nbsp;NUMBER,&lt;br /&gt;
&amp;nbsp; column2 &amp;nbsp;NUMBER&lt;br /&gt;
) ON COMMIT PRESERVE ROWS;&lt;br /&gt;
&lt;br /&gt;
Unlike permanent tables, temporary tables and their indexes do not automatically allocate a segment when they are created. Instead, segments are allocated when the first INSERT (or CREATE TABLE AS SELECT) is performed. Therefore, if a SELECT, UPDATE, or DELETE is performed before the first INSERT, then the table appears to be empty.&lt;br /&gt;
&lt;br /&gt;
DDL operations (except TRUNCATE) are allowed on an existing temporary table only if no session is currently bound to that temporary table.&lt;br /&gt;
&lt;br /&gt;
If you rollback a transaction, the data you entered is lost, although the table definition persists.&lt;br /&gt;
A transaction-specific temporary table allows only one transaction at a time. If there are several autonomous transactions in a single transaction scope, each autonomous transaction can use the table only as soon as the previous one commits.&lt;br /&gt;
&lt;br /&gt;
Because the data in a temporary table is, by definition, temporary, backup and recovery of temporary table data is not available in the event of a system failure. To prepare for such a failure, you should develop alternative methods for preserving temporary table data.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/4m7Z4Kkxdoc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/7695659091973389151/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/creation-of-global-temporary-tables.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/7695659091973389151?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/7695659091973389151?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/4m7Z4Kkxdoc/creation-of-global-temporary-tables.html" title="Creation of Global Temporary Tables" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/creation-of-global-temporary-tables.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04HQ3g9fip7ImA9WhBWE0k.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-8203666235510305061</id><published>2013-04-07T20:15:00.002+05:30</published><updated>2013-04-07T20:15:32.666+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-07T20:15:32.666+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><category scheme="http://www.blogger.com/atom/ns#" term="Temporary Tables" /><title>Global Temporary Tables - Oracle</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
Applications often use some form of temporary data store for processes that are too complicated to complete in a single pass. Often, these temporary stores are defined as database tables or PL/SQL tables. In Oracle 8i, the maintenance and management of temporary tables can be delegated to the server by using Global Temporary Tables.&lt;br /&gt;
These tables do not reside in the system catalogs and are not persistent. Temporary tables exist only during the connection that declared them and cannot be referenced outside of that connection. When the connection closes, the rows of the table are deleted, and the in-memory description of the temporary table is dropped.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Temporary tables are useful when:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;The table structure is not known before using an application.&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Other users do not need the same table structure.&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;Data in the temporary table is needed while using the application.&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;The table can be declared and dropped without holding the locks on the system catalog.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;Syntax&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
DECLARE GLOBAL TEMPORARY TABLE table-Name&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; { column-definition [ , column-definition ] * }&lt;/div&gt;
&lt;div&gt;
[ ON COMMIT {DELETE | PRESERVE} ROWS ] &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
NOT LOGGED [ON ROLLBACK DELETE ROWS]&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;table-Name&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Names the temporary table. If a schema-Name other than SESSION is specified, an error will occur (SQLSTATE 428EK). If the schema-Name is not specified, SESSION is assigned. Multiple connections can define declared global temporary tables with the same name because each connection has its own unique table descriptor for it.&lt;/div&gt;
&lt;div&gt;
Using SESSION as the schema name of a physical table will not cause an error, but is discouraged. The SESSION schema name should be reserved for the temporary table schema.&lt;/div&gt;
&lt;div&gt;
column-definition&lt;/div&gt;
&lt;div&gt;
See column-definition for CREATE TABLE for more information on column-definition. DECLARE GLOBAL TEMPORARY TABLE does not allow generated-column-spec in the column-definition.&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;Data type&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Supported data types are:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;BIGINT&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;CHAR&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;DATE&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;DECIMAL&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;DOUBLE&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;DOUBLE PRECISION&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;FLOAT&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;INTEGER&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;NUMERIC&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;REAL&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;SMALLINT&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;TIME&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;TIMESTAMP&lt;/div&gt;
&lt;div&gt;
•&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;	&lt;/span&gt;VARCHAR&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;ON COMMIT&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Specifies the action taken on the global temporary table when a COMMIT operation is performed.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;DELETE ROWS&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
All rows of the table will be deleted if no hold-able cursor is open on the table. This is the default value for ON COMMIT. If you specify ON ROLLBACK DELETE ROWS, this will delete all the rows in the table only if the temporary table was used. ON COMMIT DELETE ROWS will delete the rows in the table even if the table was not used (if the table does not have hold-able cursors open on it).&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;PRESERVE ROWS&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The rows of the table will be preserved.&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;NOT LOGGED&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Specifies the action taken on the global temporary table when a rollback operation is performed. When a ROLLBACK (or ROLLBACK TO SAVEPOINT) operation is performed, if the table was created in the unit of work (or savepoint), the table will be dropped. If the table was dropped in the unit of work (or savepoint), the table will be restored with no rows.&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;ON ROLLBACK DELETE ROWS&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
This is the default value for NOT LOGGED. NOT LOGGED [ON ROLLBACK DELETE ROWS ]] specifies the action that is to be taken on the global temporary table when a ROLLBACK or (ROLLBACK TO SAVEPOINT) operation is performed. If the table data has been changed, all the rows will be deleted.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/qlHL-WEoZl8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/8203666235510305061/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/global-temporary-tables-oracle.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8203666235510305061?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8203666235510305061?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/qlHL-WEoZl8/global-temporary-tables-oracle.html" title="Global Temporary Tables - Oracle" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/global-temporary-tables-oracle.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MCRHw4cSp7ImA9WhBWEUk.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-6574816078240686124</id><published>2013-04-05T11:27:00.000+05:30</published><updated>2013-04-05T11:27:45.239+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-05T11:27:45.239+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server 2005" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>nth highest salary in sql server</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;br /&gt;
SELECT TOP 1 salary&lt;br /&gt;
FROM (&lt;br /&gt;
SELECT DISTINCT TOP n salary&lt;br /&gt;
FROM employee&lt;br /&gt;
ORDER BY salary DESC) a&lt;br /&gt;
ORDER BY salary&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/Xw3qOGW7Ipw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/6574816078240686124/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/nth-highest-salary-in-sql-server.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/6574816078240686124?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/6574816078240686124?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/Xw3qOGW7Ipw/nth-highest-salary-in-sql-server.html" title="nth highest salary in sql server" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/nth-highest-salary-in-sql-server.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIDQnc-fyp7ImA9WhBXGUs.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-4063204333705877194</id><published>2013-04-03T11:09:00.001+05:30</published><updated>2013-04-03T11:09:33.957+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-03T11:09:33.957+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="VB.NET" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET" /><title>Access Modifier in .Net</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: 4.65pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184; width: 607px;"&gt;
 &lt;tbody&gt;
&lt;tr style="height: 15.0pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt;
  &lt;td nowrap="" style="border: solid windowtext 1.0pt; height: 15.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 117.0pt;" valign="bottom" width="156"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
Visual Basic Modifier&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap="" style="border-left: none; border: solid windowtext 1.0pt; height: 15.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 68.25pt;" valign="bottom" width="91"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
C# Modifier&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid windowtext 1.0pt; height: 15.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 3.75in;" valign="bottom" width="360"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
Definition&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="height: 30.0pt; mso-yfti-irow: 1;"&gt;
  &lt;td nowrap="" style="border-top: none; border: solid windowtext 1.0pt; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 117.0pt;" valign="bottom" width="156"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
Public (Visual Basic)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap="" style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 68.25pt;" valign="bottom" width="91"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
public&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 3.75in;" valign="bottom" width="360"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
The type or member can be accessed by any other code in the same
  assembly or another assembly that references it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="height: 30.0pt; mso-yfti-irow: 2;"&gt;
  &lt;td nowrap="" style="border-top: none; border: solid windowtext 1.0pt; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 117.0pt;" valign="bottom" width="156"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
Private (Visual Basic)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap="" style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 68.25pt;" valign="bottom" width="91"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
private&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 3.75in;" valign="bottom" width="360"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
The type or member can only be accessed by code in the same
  class.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="height: 30.0pt; mso-yfti-irow: 3;"&gt;
  &lt;td nowrap="" style="border-top: none; border: solid windowtext 1.0pt; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 117.0pt;" valign="bottom" width="156"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
Protected (Visual Basic)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap="" style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 68.25pt;" valign="bottom" width="91"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
protected&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 3.75in;" valign="bottom" width="360"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
The type or member can only be accessed by code in the same
  class or in a derived class.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="height: 30.0pt; mso-yfti-irow: 4;"&gt;
  &lt;td nowrap="" style="border-top: none; border: solid windowtext 1.0pt; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 117.0pt;" valign="bottom" width="156"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
Friend (Visual Basic)&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap="" style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 68.25pt;" valign="bottom" width="91"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
internal&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 3.75in;" valign="bottom" width="360"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
The type or member can be accessed by any code in the same
  assembly, but not from another assembly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="height: 30.0pt; mso-yfti-irow: 5; mso-yfti-lastrow: yes;"&gt;
  &lt;td nowrap="" style="border-top: none; border: solid windowtext 1.0pt; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 117.0pt;" valign="bottom" width="156"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
Protected Friend&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td nowrap="" style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 68.25pt;" valign="bottom" width="91"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
protected internal&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 30.0pt; mso-border-bottom-alt: solid windowtext .5pt; mso-border-right-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 3.75in;" valign="bottom" width="360"&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;
The type or member can be accessed by any code in the same
  assembly, or by any derived class in another assembly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/nadvbNn-jVg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/4063204333705877194/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/access-modifier-in-net.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/4063204333705877194?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/4063204333705877194?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/nadvbNn-jVg/access-modifier-in-net.html" title="Access Modifier in .Net" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/access-modifier-in-net.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUINSXk6cCp7ImA9WhBXGUs.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-5150102757841439071</id><published>2013-04-02T14:39:00.003+05:30</published><updated>2013-04-03T11:09:58.718+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-03T11:09:58.718+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="VB.NET" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Oracle" /><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET" /><title>Read tnsnames.ora in VB.NET</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Below are the code for read tnsname.ora file(tns name) in vb.net. Through below functions you can get the information of the tns.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="brush: c-sharp;" name="code"&gt;//Declare namespace
Imports System
Imports System.Collections.Generic
Imports System.Text.RegularExpressions
Imports System.IO

Public Class ReadTNS
    //Function for Load TNS Name
    Public Function LoadTNSNames() As List(Of String)
        Dim DBNamesCollection As New List(Of String)()
        Dim regPattern As String = "[\n][\s]*[^\(][a-zA-Z0-9_.]+[\s]*"
        Dim tnsNamesOraFilePath As String = GetPathToTNSNamesFile()

        If Not tnsNamesOraFilePath.Equals("") Then
            ' Verify file exists
            Dim tnsNamesOraFile As New FileInfo(tnsNamesOraFilePath)
            If tnsNamesOraFile.Exists Then
                If tnsNamesOraFile.Length &amp;gt; 0 Then
                    'read tnsnames.ora file                        
                    Dim tnsNamesContents As String = File.ReadAllText(tnsNamesOraFile.FullName)
                    Dim numMatches As Integer = Regex.Matches(tnsNamesContents, regPattern).Count
                    Dim col As MatchCollection = Regex.Matches(tnsNamesContents, regPattern)
                    For Each match As Match In col
                        Dim m As String = match.ToString()
                        m = m.Trim()
                        DBNamesCollection.Add(m.ToUpper())
                    Next
                End If
            End If
        End If
        Return DBNamesCollection
    End Function

   //Function for Get path of TNS File

    Private Shared Function GetPathToTNSNamesFile() As String
        Dim systemPath As String = Environment.GetEnvironmentVariable("Path")
        Dim reg As New Regex("[a-zA-Z]:\\[a-zA-Z0-9\\]*(oracle|app)[a-zA-Z0-9_.\\]*(?=bin)")
        Dim col As MatchCollection = reg.Matches(systemPath)

        Dim subpath As String = "network\ADMIN\tnsnames.ora"
        For Each match As Match In col
            Dim path As String = match.ToString() &amp;amp; subpath
            If File.Exists(path) Then
                Return path
            End If
        Next
        Return String.Empty
    End Function
End Class
&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/lZwoO6uXAZ0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/5150102757841439071/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/04/read-tnsnamesora-in-vbnet.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/5150102757841439071?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/5150102757841439071?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/lZwoO6uXAZ0/read-tnsnamesora-in-vbnet.html" title="Read tnsnames.ora in VB.NET" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/04/read-tnsnamesora-in-vbnet.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4BQH0-cSp7ImA9WhNUEko.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-6457018399351407377</id><published>2013-01-04T10:19:00.001+05:30</published><updated>2013-01-04T10:19:11.359+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-04T10:19:11.359+05:30</app:edited><title>Convert.toString vs .toString ()</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
The basic difference between them is “Convert” function handles NULLS.&lt;br /&gt;
&amp;nbsp;while&amp;nbsp;“i.ToString()” does not it will throw a NULL reference exception error.&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/OhEY6QzEsbs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/6457018399351407377/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2013/01/converttostring-vs-tostring.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/6457018399351407377?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/6457018399351407377?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/OhEY6QzEsbs/converttostring-vs-tostring.html" title="Convert.toString vs .toString ()" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2013/01/converttostring-vs-tostring.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQAQHc8fip7ImA9WhNVE04.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-1684000763992595524</id><published>2012-12-24T11:55:00.001+05:30</published><updated>2012-12-24T11:55:41.976+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-24T11:55:41.976+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET" /><title>Difference between beginexecutereader and  executereader (beginexecutereader Vs executereader)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
The BeginExecuteReader(...) and EndExecuteReader...() are for performing the&lt;br /&gt;
ExecuteReader(...) method asynchronously. If you use ExecuteReader(...)&lt;br /&gt;
your thread is blocked while that method executes.&lt;br /&gt;
&lt;br /&gt;
Using BeginExecuteReader(...) (and the corresponding EndExecuteReader(...))&lt;br /&gt;
ExecuteReader(...) will be executed in a seperate thread, allowing for&lt;br /&gt;
yours to continue processing. The BeginExecuteReader(...) method will&lt;br /&gt;
require a callback method, and in that callback method, you will make a&lt;br /&gt;
call to EndExecuteReader(...) to end the asynchronous operation, and&lt;br /&gt;
retreive the return value.&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/AJmVodSE6z4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/1684000763992595524/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/12/difference-between-beginexecutereader.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/1684000763992595524?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/1684000763992595524?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/AJmVodSE6z4/difference-between-beginexecutereader.html" title="Difference between beginexecutereader and  executereader (beginexecutereader Vs executereader)" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/12/difference-between-beginexecutereader.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIBSHYzcSp7ImA9WhNXF00.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-3632025004633952472</id><published>2012-12-05T15:36:00.003+05:30</published><updated>2012-12-05T16:02:39.889+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-05T16:02:39.889+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Difference between Correlated subquery and Nested subquery</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div&gt;
&lt;b&gt;Correlated subquery&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Correlated subquery runs once for each row selected by the outer query. It contains a reference to a value &lt;br /&gt;
&amp;nbsp;from the row selected by the outer query.&lt;/div&gt;
&lt;div&gt;
Correlated subquery follows down to top approach i.e., main query is executed first(even though parenthesis &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;are present) and then child query.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
We can also say:In a subquery.&lt;/div&gt;
&lt;div&gt;
Example:&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;select e1.empname, e1.basicsal, e1.deptno from emp e1&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;where e1.basicsal = (select max(basicsal) from emp e2 where e2.deptno = e1.deptno)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Nested subquery&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Nested subquery runs only once for the entire nesting (outer) query. It does not contain any reference to the &lt;br /&gt;
&amp;nbsp;outer query row.&lt;/div&gt;
&lt;div&gt;
We can also say: in a Correlated subquery,Inner query condition is used in the outer query.&lt;/div&gt;
&lt;div&gt;
Nested subquery follows top-down approach i.e., child query is executed first and then parent .&lt;/div&gt;
&lt;div&gt;
Outer query condition is used in the the inner query.&lt;/div&gt;
&lt;div&gt;
Example:&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;select empname, basicsal, deptno from emp&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;where (deptno, basicsal) in (select deptno, max(basicsal) from emp group by deptno)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/3yUJ6Wmqax4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/3632025004633952472/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/12/difference-between-correlated-subquery.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/3632025004633952472?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/3632025004633952472?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/3yUJ6Wmqax4/difference-between-correlated-subquery.html" title="Difference between Correlated subquery and Nested subquery" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/12/difference-between-correlated-subquery.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAMSH89fCp7ImA9WhNXF00.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-8837911512689509431</id><published>2012-12-05T15:34:00.003+05:30</published><updated>2012-12-05T15:49:49.164+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-05T15:49:49.164+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET" /><title>Difference between thread and process</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;&lt;b&gt;Thread&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Threads share the address space of the process that created it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Threads have direct access to the data segment of its process.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Threads can directly communicate with other threads of its process.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Threads have almost no overhead.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;New threads are easily created.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Threads can exercise considerable control over threads of the same process&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Changes to the main thread (cancellation, priority change, etc.) may affect the behavior of the other threads of the process.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;span style="line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;&lt;b&gt;Process&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Processes have their own address.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Processes have their own copy of the data segment of the parent process.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Processes must use inter-process communication to communicate with sibling processes.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Processes have considerable overhead.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;New processes require duplication of the parent process.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Processes can only exercise control over child processes.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="line-height: 18px;"&gt;Changes to the parent process does not affect child process.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/trtEQPb499Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/8837911512689509431/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/12/difference-between-thread-and-process.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8837911512689509431?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8837911512689509431?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/trtEQPb499Q/difference-between-thread-and-process.html" title="Difference between thread and process" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/12/difference-between-thread-and-process.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEMRHoyeyp7ImA9WhNXF00.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-1032519511102937036</id><published>2012-12-05T15:32:00.002+05:30</published><updated>2012-12-05T15:48:05.493+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-05T15:48:05.493+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET" /><title>Difference between trace and debug in .NET</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div&gt;
&lt;b&gt;Trace:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
This class works only when your application build defines the symbol TRACE.&lt;/div&gt;
&lt;div&gt;
For tracing, you have to use Trace.WriteLine statements.&lt;/div&gt;
&lt;div&gt;
Trace class is generally used to trace the execution during deployment of the application.&lt;/div&gt;
&lt;div&gt;
Trace class works in both debug mode as well as release mode.&lt;/div&gt;
&lt;div&gt;
Performance analysis can be done using Trace class.&lt;/div&gt;
&lt;div&gt;
Trace runs in a thread that is different from the Main Thread.&lt;/div&gt;
&lt;div&gt;
Trace is used during Testing Phase and Optimization Phase of different releases.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Debug:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
This class works only when your application build defines the symbol DEBUG.&lt;/div&gt;
&lt;div&gt;
For debug, you have to use Debug.WriteLine statements.&lt;/div&gt;
&lt;div&gt;
You generally use debug classes at the time of development of application.&lt;/div&gt;
&lt;div&gt;
Debug class works only in debug mode.&lt;/div&gt;
&lt;div&gt;
Performance analysis cannot be done using Debug class.&lt;/div&gt;
&lt;div&gt;
Debug runs in the same thread in which your code executes.&lt;/div&gt;
&lt;div&gt;
Debug is used during Debugging Phase.&lt;/div&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/VKhB6hZU4GQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/1032519511102937036/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/12/difference-between-trace-and-debug-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/1032519511102937036?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/1032519511102937036?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/VKhB6hZU4GQ/difference-between-trace-and-debug-in.html" title="Difference between trace and debug in .NET" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/12/difference-between-trace-and-debug-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IGRXY9fip7ImA9WhJaEEo.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-9093274526836118349</id><published>2012-10-01T12:42:00.000+05:30</published><updated>2012-10-01T12:42:04.866+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-01T12:42:04.866+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="WEB SERVICE" /><category scheme="http://www.blogger.com/atom/ns#" term="WCF" /><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET" /><title>Difference between WCF and Web service</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;b&gt;Web service:&lt;/b&gt;&lt;br /&gt;
The File extension of web service is .asmx.&lt;br /&gt;
It can be hosted in IIS.&lt;br /&gt;
[WebService] attribute has to be added to the class.&lt;br /&gt;
[WebMethod] attribute represents the method exposed to client.&lt;br /&gt;
One-way, Request- Response are the different operations supported in web service.&lt;br /&gt;
System.Xml.serialization name space is used for serialization.&lt;br /&gt;
XML 1.0, MTOM(Message Transmission Optimization Mechanism), DIME, Custom.&lt;br /&gt;
Hash Table cannot be serialized.&lt;br /&gt;
Only public properties/fields can be serialized.&lt;br /&gt;
Unhandled Exceptions returns to the client as SOAP faults.&lt;br /&gt;
Slower than WCF.&lt;br /&gt;
Uses only SOAP(Simple Object Access Protocol).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;WCF:&lt;/b&gt;&lt;br /&gt;
The file extension of WCF service is .svc.&lt;br /&gt;
It can be hosted in IIS, windows activation service, Self-hosting, Windows service.&lt;br /&gt;
[ServiceContraact] attribute has to be added to the class.&lt;br /&gt;
[OperationContract] attribute represents the method exposed to client.&lt;br /&gt;
One-Way, Request-Response, Duplex are different type of operations supported in WCF.&lt;br /&gt;
System.Runtime.Serialization namespace is used for serialization.&lt;br /&gt;
XML 1.0, MTOM, Binary, Custom.&lt;br /&gt;
The DataContractSerializer translate the Hash table into the XML.&lt;br /&gt;
Public/Private properties/fields can be serialized.&lt;br /&gt;
Better than WebService. The performance measures in terms of xml serialization.&lt;br /&gt;
It can send/receive message in any transport protocol message format. By default it uses SOAP for communication.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/irzC0pZslxA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/9093274526836118349/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/10/difference-between-wcf-and-web-service.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/9093274526836118349?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/9093274526836118349?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/irzC0pZslxA/difference-between-wcf-and-web-service.html" title="Difference between WCF and Web service" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/10/difference-between-wcf-and-web-service.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAAQns_fip7ImA9WhJaEEo.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-5137450367312831341</id><published>2012-10-01T11:55:00.000+05:30</published><updated>2012-10-01T11:55:43.546+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-01T11:55:43.546+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>Difference between Where and Having clauses</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
The WHERE clause selects rows before grouping. The HAVING clause selects rows after grouping.&lt;br /&gt;
The WHERE clause cannot contain aggregate functions. The HAVING clause can contain aggregate functions.&lt;br /&gt;
&lt;br /&gt;
A HAVING clause is like a WHERE clause, but applies only to groups as a whole, whereas the WHERE clause applies to individual rows. A query can contain both a WHERE clause and a HAVING clause. The WHERE clause is applied first to the individual rows in the tables . Only the rows that meet the conditions in the WHERE clause are grouped. The HAVING clause is then applied to the rows in the result set.&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/ot3e8EUVidY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/5137450367312831341/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/09/difference-between-where-and-having.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/5137450367312831341?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/5137450367312831341?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/ot3e8EUVidY/difference-between-where-and-having.html" title="Difference between Where and Having clauses" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/09/difference-between-where-and-having.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkECRn07eCp7ImA9WhJbGEw.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-8754175295928107803</id><published>2012-09-28T11:07:00.000+05:30</published><updated>2012-09-28T11:07:47.300+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-28T11:07:47.300+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight" /><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET" /><title>Unable to start debugging. The Silverlight managed debugging package isn’t installed.</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
If you ever get the message, well you probably have a configuration problem. So just download and install the Silverlight Developer Run time.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.blogger.com/If%20you%20ever%20get%20the%20message,%20well%20you%20probably%20have%20a%20configuration%20problem.%20So%20just%20download%20and%20install%20the%20Silverlight%20Developer%20Run%20time.%20%20%20You%20can%20get%20it%20from%20here%20:%20http://go.microsoft.com/fwlink/?LinkID=188039"&gt;You can get it from here : http://go.microsoft.com/fwlink/?LinkID=188039&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It works for me.&lt;br /&gt;
&lt;/div&gt;
&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/qsymg3YyGZ8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/8754175295928107803/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/09/unable-to-start-debugging-silverlight.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8754175295928107803?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8754175295928107803?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/qsymg3YyGZ8/unable-to-start-debugging-silverlight.html" title="Unable to start debugging. The Silverlight managed debugging package isn’t installed." /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/09/unable-to-start-debugging-silverlight.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEFR3w8fCp7ImA9WhJVGE0.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-538858533749562910</id><published>2012-09-05T05:53:00.000+05:30</published><updated>2012-09-05T05:53:36.274+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-05T05:53:36.274+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DOTNET" /><title>Directcast-Vs-Ctype</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;By "conversion" mean converting one datatype to another (e.g. string to&lt;br /&gt;
integer, decimal to integer, object to string etc).&lt;br /&gt;
&lt;br /&gt;
By "cast" mean changing one type of object into another type that is&lt;br /&gt;
related to it by one of the following rules.&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/ghJjw_HzFyY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/538858533749562910/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/09/directcast-vs-ctype.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/538858533749562910?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/538858533749562910?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/ghJjw_HzFyY/directcast-vs-ctype.html" title="Directcast-Vs-Ctype" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/09/directcast-vs-ctype.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MBRHk7fCp7ImA9WhJWEk0.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-5972830147330273394</id><published>2012-08-17T17:40:00.002+05:30</published><updated>2012-08-17T17:40:55.704+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-08-17T17:40:55.704+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>ISNULL Vs NULLIF</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
ISNULL:&lt;br /&gt;
ISNULL ( expression , replacement)&lt;br /&gt;
Replaces NULL with the specified replacement value. It returns the value of expression if it is not null.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NULLIF:&lt;br /&gt;
NULLIF( expression , expression)&lt;br /&gt;
It returns a null value if both the expression is equal. NULLIF returns the first expression if both the expression is not equal.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/nozmKpo8fQ0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/5972830147330273394/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/08/isnull-vs-nullif.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/5972830147330273394?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/5972830147330273394?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/nozmKpo8fQ0/isnull-vs-nullif.html" title="ISNULL Vs NULLIF" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/08/isnull-vs-nullif.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ECR3YzeCp7ImA9WhJSEkw.&quot;"><id>tag:blogger.com,1999:blog-2533025760881064294.post-8748732621884230658</id><published>2012-07-02T14:31:00.000+05:30</published><updated>2012-07-02T14:31:06.880+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-02T14:31:06.880+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Utility" /><title>Virtual Router</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Wifi Hot Spot for Windows 7 / 2008 R2&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual Router is a free, open source software based router for PCs running Windows 7 or Windows Server 2008 R2.&lt;br /&gt;
Using Virtual Router, users can wirelessly share any internet connection (Wifi, LAN, Cable Modem, Dial-up, Cellular, etc.) with any Wifi device (Laptop, Smart Phone, iPod Touch, iPhone, Android Phone, Zune, Netbook, wireless printer, etc.) These devices connect to Virtual Router just like any other access point, and the connection is completely secured using WPA2 (the most secure wireless encryption.)&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;
&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Steps for use:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;
&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Just Download from link (&amp;nbsp;&lt;a href="http://virtualrouter.codeplex.com/downloads/get/93540"&gt;http://virtualrouter.codeplex.com/downloads/get/93540&lt;/a&gt;&amp;nbsp;)&lt;br /&gt;
Install it.&lt;br /&gt;
Restart the system.&lt;br /&gt;
Start virtual router.&lt;br /&gt;
Connect and use Internet from mobile and Computer through virtual router.&lt;br /&gt;
&lt;br /&gt;
For more refrence please visit:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://virtualrouter.codeplex.com/"&gt;http://virtualrouter.codeplex.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/thedevheaven/eXbp/~4/iNVA64_I198" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.thedevheaven.com/feeds/8748732621884230658/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.thedevheaven.com/2012/07/virtual-router.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8748732621884230658?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2533025760881064294/posts/default/8748732621884230658?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/thedevheaven/eXbp/~3/iNVA64_I198/virtual-router.html" title="Virtual Router" /><author><name>Dev</name><uri>http://www.blogger.com/profile/09080938186023876890</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.thedevheaven.com/2012/07/virtual-router.html</feedburner:origLink></entry></feed>
