<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Prepare 4 interview - Recent questions, answers and comments</title>
<link>http://prepare4interview.com/activity</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: Write a function that counts the number of primes in the range [1-N]. Write the test cases for this function.</title>
<link>http://prepare4interview.com/1775/write-function-counts-number-primes-range-write-cases-function#a1805</link>
<description>public int CountPrimes(int n)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;List&amp;lt;int&amp;gt; primes = new List&amp;lt;int&amp;gt;();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;primes.Add(2);&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int i = 1;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (i &amp;lt; n)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int pivot = 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bool isPrime = true;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (pivot &amp;lt; primes.Count)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (i % primes[pivot] == 0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isPrime = false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (isPrime)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;primes.Add(i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return primes.Count + 1; // The number 1 is also a prime and is not into array&lt;br /&gt;
}</description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1775/write-function-counts-number-primes-range-write-cases-function#a1805</guid>
<pubDate>Fri, 27 Apr 2012 18:51:56 +0000</pubDate>
</item>
<item>
<title>Answered: How would you create a SSIS package based on below scenario?</title>
<link>http://prepare4interview.com/877/how-would-you-create-a-ssis-package-based-on-below-scenario#a1804</link>
<description>We can do by using the conditional split transformation.</description>
<category>SSIS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/877/how-would-you-create-a-ssis-package-based-on-below-scenario#a1804</guid>
<pubDate>Mon, 16 Apr 2012 09:34:59 +0000</pubDate>
</item>
<item>
<title>Answered: How would you pass a variable value to Child Package?</title>
<link>http://prepare4interview.com/873/how-would-you-pass-a-variable-value-to-child-package#a1803</link>
<description>We can pass the parent variable to child package by using Package configuration &amp;nbsp;Parent Package Variable.</description>
<category>SSIS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/873/how-would-you-pass-a-variable-value-to-child-package#a1803</guid>
<pubDate>Mon, 16 Apr 2012 09:32:50 +0000</pubDate>
</item>
<item>
<title>Answered: How would you create a SSIS package based on below scenario?</title>
<link>http://prepare4interview.com/896/how-would-you-create-a-ssis-package-based-on-below-scenario#a1802</link>
<description>Hi ,&lt;br /&gt;
&lt;br /&gt;
have a data months names in the input file as source and while loading change the column in the source file and have another table named as months in the same data base or another .take derived column as transformation in that write a case statement for months after that take look up transformation in this take months table from another data base as look up table and do the data linking and pass the data to your destination table .</description>
<category>SSIS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/896/how-would-you-create-a-ssis-package-based-on-below-scenario#a1802</guid>
<pubDate>Fri, 13 Apr 2012 06:19:19 +0000</pubDate>
</item>
<item>
<title>Answered: What is the latest version of .NET</title>
<link>http://prepare4interview.com/1783/what-is-the-latest-version-of-net#a1801</link>
<description>frameowrk 4.5</description>
<category>.NET Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1783/what-is-the-latest-version-of-net#a1801</guid>
<pubDate>Sun, 25 Mar 2012 08:40:36 +0000</pubDate>
</item>
<item>
<title>what job related organizations do your belong to (trade, professional, etc.)</title>
<link>http://prepare4interview.com/1800/what-related-organizations-your-belong-trade-professional</link>
<description>exclude memberships that would reveal race, color, religion, sex, national origin, citizenships, age, mental or physical disabilities, veteran/reserve National Guard or any other similarly protected status.</description>
<category>HR Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1800/what-related-organizations-your-belong-trade-professional</guid>
<pubDate>Fri, 09 Mar 2012 18:13:21 +0000</pubDate>
</item>
<item>
<title>Answered: why we use execute sql task</title>
<link>http://prepare4interview.com/1792/why-we-use-execute-sql-task#a1799</link>
<description>Execute SQL task is used in SSIS for running SQL queries and stored procedures.</description>
<category>SSIS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1792/why-we-use-execute-sql-task#a1799</guid>
<pubDate>Tue, 28 Feb 2012 10:13:41 +0000</pubDate>
</item>
<item>
<title>Answered: What is a self-join, in MS SQL Server?</title>
<link>http://prepare4interview.com/146/what-is-a-self-join-in-ms-sql-server#a1798</link>
<description>self join is join the table to itself.&lt;br /&gt;
ex: select col1,col2 from tbl a inner join tbl b on a.col1=b.col2&lt;br /&gt;
there is only one table called in the above query tbl</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/146/what-is-a-self-join-in-ms-sql-server#a1798</guid>
<pubDate>Tue, 31 Jan 2012 10:35:06 +0000</pubDate>
</item>
<item>
<title>Answered: What is a Sub-Query, in MS SQL Server?</title>
<link>http://prepare4interview.com/157/what-is-a-sub-query-in-ms-sql-server#a1797</link>
<description>Sub query: is the secondary query in a query. &lt;br /&gt;
ex: select col1,col2 from (select scol1 as col1,scol2 as col2 from sub_query_tbl) as a&lt;br /&gt;
the query in paranthesis is sub query , in subquery no order by should use.&lt;br /&gt;
there are diff types of sub queries exists,&lt;br /&gt;
independent sub query, correlated sub query,single valued,multi valued</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/157/what-is-a-sub-query-in-ms-sql-server#a1797</guid>
<pubDate>Tue, 31 Jan 2012 10:32:03 +0000</pubDate>
</item>
<item>
<title>Answered: What is the default “SORT” order for a SQL, in MS SQL Server?</title>
<link>http://prepare4interview.com/141/what-is-the-default-sort-order-for-a-sql-in-ms-sql-server#a1796</link>
<description>The default sort order is alphabtic (if userid column exists), else we see there no such order when all are int datatype.</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/141/what-is-the-default-sort-order-for-a-sql-in-ms-sql-server#a1796</guid>
<pubDate>Tue, 31 Jan 2012 10:27:53 +0000</pubDate>
</item>
<item>
<title>Answered: What is CTE (Common Table Expression), in MS SQL Server?</title>
<link>http://prepare4interview.com/162/what-is-cte-common-table-expression-in-ms-sql-server#a1795</link>
<description>CTE is a temporary named result set that you can reference within a SELECT, INSERT, UPDATE, or DELETE statement.</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/162/what-is-cte-common-table-expression-in-ms-sql-server#a1795</guid>
<pubDate>Wed, 25 Jan 2012 23:50:22 +0000</pubDate>
</item>
<item>
<title>Commented: Why should I hire you?</title>
<link>http://prepare4interview.com/233/why-should-i-hire-you#c1794</link>
<description>not a relevant site..</description>
<category>HR Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/233/why-should-i-hire-you#c1794</guid>
<pubDate>Wed, 25 Jan 2012 06:27:16 +0000</pubDate>
</item>
<item>
<title>Commented: what are design patterns?</title>
<link>http://prepare4interview.com/547/what-are-design-patterns#c1793</link>
<description>Thanks helped me lot.</description>
<category>.NET Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/547/what-are-design-patterns#c1793</guid>
<pubDate>Wed, 25 Jan 2012 06:25:18 +0000</pubDate>
</item>
<item>
<title>Answered: Explain the purpose of synchronization feature provided in Analysis Services 2005</title>
<link>http://prepare4interview.com/1625/explain-synchronization-feature-provided-analysis-services#a1791</link>
<description>Synchronization feature is used to copy database from one source server to a destination server. While the synchronization is in progress, users can still browse the cubes. Once the synchronization is complete, the user is redirected to the new Synchronized database.</description>
<category>SSAS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1625/explain-synchronization-feature-provided-analysis-services#a1791</guid>
<pubDate>Tue, 13 Dec 2011 08:19:53 +0000</pubDate>
</item>
<item>
<title>Answered: Where do you see yourself five years from now?</title>
<link>http://prepare4interview.com/237/where-do-you-see-yourself-five-years-from-now#a1790</link>
<description>Do you know http://it-how.com ?</description>
<category>HR Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/237/where-do-you-see-yourself-five-years-from-now#a1790</guid>
<pubDate>Sun, 27 Nov 2011 15:02:59 +0000</pubDate>
</item>
<item>
<title>Answered: Why are you leaving this position?</title>
<link>http://prepare4interview.com/231/why-are-you-leaving-this-position#a1788</link>
<description>Do you know http://it-how.com ?</description>
<category>HR Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/231/why-are-you-leaving-this-position#a1788</guid>
<pubDate>Sun, 27 Nov 2011 15:01:39 +0000</pubDate>
</item>
<item>
<title>Answered: If you specify the data type as DECIMAL (5,2), what’s the range of values that can go in this table?</title>
<link>http://prepare4interview.com/1402/specify-data-type-decimal-what-range-values-that-this-table#a1787</link>
<description>Do you know http://it-how.com ?</description>
<category>MySQL Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1402/specify-data-type-decimal-what-range-values-that-this-table#a1787</guid>
<pubDate>Sun, 27 Nov 2011 14:59:55 +0000</pubDate>
</item>
<item>
<title>TELL ME SOMETHING ABOUT YOURSELF</title>
<link>http://prepare4interview.com/1786/tell-me-something-about-yourself</link>
<description>GIVE ME SUGGESTETION WHAT TO ANSWER</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1786/tell-me-something-about-yourself</guid>
<pubDate>Sun, 20 Nov 2011 05:17:37 +0000</pubDate>
</item>
<item>
<title>Answered: How do you sort in SQL, in MS SQL Server?</title>
<link>http://prepare4interview.com/138/how-do-you-sort-in-sql-in-ms-sql-server#a1785</link>
<description>using Order by</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/138/how-do-you-sort-in-sql-in-ms-sql-server#a1785</guid>
<pubDate>Mon, 07 Nov 2011 10:43:42 +0000</pubDate>
</item>
<item>
<title>Answered: You want to select the first record in a given set of rows, in MS SQL Server?</title>
<link>http://prepare4interview.com/137/you-want-select-the-first-record-given-set-rows-in-sql-server#a1784</link>
<description>Select top 1 * from table name</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/137/you-want-select-the-first-record-given-set-rows-in-sql-server#a1784</guid>
<pubDate>Mon, 07 Nov 2011 10:42:33 +0000</pubDate>
</item>
<item>
<title>Answered: Which namespace is used to access WCF service?</title>
<link>http://prepare4interview.com/985/which-namespace-is-used-to-access-wcf-service#a1782</link>
<description>System.ServiceModel</description>
<category>.NET Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/985/which-namespace-is-used-to-access-wcf-service#a1782</guid>
<pubDate>Wed, 05 Oct 2011 16:10:33 +0000</pubDate>
</item>
<item>
<title>What is Unix?</title>
<link>http://prepare4interview.com/1780/what-is-unix</link>
<description>What is UniX</description>
<category>UNIX Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1780/what-is-unix</guid>
<pubDate>Thu, 22 Sep 2011 07:21:51 +0000</pubDate>
</item>
<item>
<title>Commented: Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.</title>
<link>http://prepare4interview.com/1776/write-function-inserts-integer-linked-ascending-function#c1779</link>
<description>A very abstract field http://www.google.com.vn/</description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1776/write-function-inserts-integer-linked-ascending-function#c1779</guid>
<pubDate>Mon, 22 Aug 2011 12:15:10 +0000</pubDate>
</item>
<item>
<title>How would you deal with a bug that no one wants to fix? Both the SDE and his lead have said they won't fix it.</title>
<link>http://prepare4interview.com/1774/would-deal-with-that-wants-both-and-his-lead-have-said-they-fix</link>
<description></description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1774/would-deal-with-that-wants-both-and-his-lead-have-said-they-fix</guid>
<pubDate>Fri, 05 Aug 2011 17:37:04 +0000</pubDate>
</item>
<item>
<title>How would you deal with changes being made a week or so before the ship date?</title>
<link>http://prepare4interview.com/1773/would-you-deal-with-changes-being-made-week-before-ship-date</link>
<description></description>
<category>Other Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1773/would-you-deal-with-changes-being-made-week-before-ship-date</guid>
<pubDate>Fri, 05 Aug 2011 17:35:46 +0000</pubDate>
</item>
<item>
<title>what is the retail banking?</title>
<link>http://prepare4interview.com/1772/what-is-the-retail-banking</link>
<description>what is the retail banking?</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1772/what-is-the-retail-banking</guid>
<pubDate>Wed, 27 Jul 2011 10:17:09 +0000</pubDate>
</item>
<item>
<title>Answered: Tell me about the Greenplum Architecture</title>
<link>http://prepare4interview.com/1770/tell-me-about-the-greenplum-architecture#a1771</link>
<description>Greenplum Database is able to handle the storage and processing of large amounts of data by distributing the load across several servers or hosts. A database in Greenplum is actually an array of individual PostgreSQL databases, all working together to present a single database image. The master is the entry point to the Greenplum Database system. It is the database instance where clients connect and submit SQL statements. The master coordinates the work amongst the other database instances in the system, the segments, which handle data processing and storage.</description>
<category>Greenplum Database Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1770/tell-me-about-the-greenplum-architecture#a1771</guid>
<pubDate>Fri, 15 Jul 2011 07:17:58 +0000</pubDate>
</item>
<item>
<title>Answered: How to create and use Greenplum External tables?</title>
<link>http://prepare4interview.com/1768/how-to-create-and-use-greenplum-external-tables#a1769</link>
<description>The CREATE EXTERNAL TABLE command creates an external table definition in Greenplum Database. External table data is considered static (meaning the data does not change midstream during the execution of a query). This allows the query planner to choose plans that allow for rescanning of the external table data.&lt;br /&gt;
&lt;br /&gt;
You may specify multiple external data sources or URIs (uniform resource identifiers) with the LOCATION clause — up to the number of primary segment instances in your Greenplum Database array. Each URI points to an external data file or data source. These URIs do not need to exist prior to defining an external table (CREATE EXTERNAL TABLE does not validate the URIs specified). However you will get an error if they cannot be found when querying the external table.&lt;br /&gt;
&lt;br /&gt;
There are two protocols that you can use to access the external table data sources.&lt;br /&gt;
1. gpfdist&lt;br /&gt;
2. file</description>
<category>Greenplum Database Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1768/how-to-create-and-use-greenplum-external-tables#a1769</guid>
<pubDate>Fri, 15 Jul 2011 06:48:35 +0000</pubDate>
</item>
<item>
<title>Answered: What is the difference between external tables and web tables of Greenplum database?</title>
<link>http://prepare4interview.com/1766/difference-between-external-tables-tables-greenplum-database#a1767</link>
<description>The main difference between external tables and web tables are their data sources. External tables access static flat files, whereas web tables access dynamic data sources — either on a web server or by executing OS commands or scripts. When a query is planned using an external table, the external table is considered rescannable since the data is thought to be static for the course of the query. For web tables, the data is not rescannable because there is the possibility that the data could change during the course of the query’s execution.</description>
<category>Greenplum Database Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1766/difference-between-external-tables-tables-greenplum-database#a1767</guid>
<pubDate>Fri, 15 Jul 2011 06:23:53 +0000</pubDate>
</item>
<item>
<title>Answered: What is external tables and web tables in Greenplum database?</title>
<link>http://prepare4interview.com/1764/what-is-external-tables-and-web-tables-in-greenplum-database#a1765</link>
<description>External tables and web tables provide an easy way to perform basic extraction, transformation, and loading (ETL) tasks that are common in data warehousing. External and web table data is read in parallel by the Greenplum Database segment instances, so they also provide a means for fast data loading.&lt;br /&gt;
&lt;br /&gt;
Once an external or web table is defined, its data can be queried directly (and in parallel) using SQL commands. You can, for example, select, join, or sort external or web table data. You can also create views for external or web tables. However external and web tables are read-only. DML operations (UPDATE, INSERT, DELETE, or TRUNCATE) are not allowed, and you cannot create indexes on external or web tables.&lt;br /&gt;
&lt;br /&gt;
An external or web table definition can be thought of as a view that allows running any SQL query against external data sources without requiring that data to first be loaded into the database. External and web tables provide an easy way to perform basic extraction, transformation, and loading (ETL) tasks that are common in data warehousing. External and web table files are read in parallel by the Greenplum Database segment instances, so they also provide a means for fast data loading.</description>
<category>Greenplum Database Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1764/what-is-external-tables-and-web-tables-in-greenplum-database#a1765</guid>
<pubDate>Fri, 15 Jul 2011 06:22:30 +0000</pubDate>
</item>
<item>
<title>Answered: What is Greenplum database?</title>
<link>http://prepare4interview.com/1762/what-is-greenplum-database#a1763</link>
<description>Greenplum Database is a massively parallel processing (MPP) database server based on PostgreSQL open-source technology. MPP (also known as a shared nothing architecture) refers to systems with two or more processors which cooperate to carry out an operation - each processor with its own memory, operating system and disks. Greenplum leverages this high-performance system architecture to distribute the load of multi-terabyte data warehouses, and is able to use all of a system’s resources in parallel to process a query.</description>
<category>Greenplum Database Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1762/what-is-greenplum-database#a1763</guid>
<pubDate>Fri, 15 Jul 2011 06:19:23 +0000</pubDate>
</item>
<item>
<title>Answered: What is the difference between DELETE and TRUNCATE?</title>
<link>http://prepare4interview.com/151/what-is-the-difference-between-delete-and-truncate#a1761</link>
<description>Truncate:1)deletes all the data but the strucure of table remains 2)Faster Compared to delete.3)truncate is autocommited statment.&lt;br /&gt;
delete:1)deletes all data but &amp;nbsp;the structure remains same.2)slow compared to truncate.3)Delete is not auto commited.</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/151/what-is-the-difference-between-delete-and-truncate#a1761</guid>
<pubDate>Wed, 06 Jul 2011 09:09:52 +0000</pubDate>
</item>
<item>
<title>i am a mca 2011 batch pass out and i want to join a job in a software industry?</title>
<link>http://prepare4interview.com/1760/am-mca-2011-batch-pass-out-and-want-join-job-software-industry</link>
<description></description>
<category>Job Openings</category>
<guid isPermaLink="true">http://prepare4interview.com/1760/am-mca-2011-batch-pass-out-and-want-join-job-software-industry</guid>
<pubDate>Tue, 21 Jun 2011 11:47:37 +0000</pubDate>
</item>
<item>
<title>Answered: How to do sql server performance turning?</title>
<link>http://prepare4interview.com/1750/how-to-do-sql-server-performance-turning#a1759</link>
<description>What are the measures shoud be consider during sql server performance turning?What are the measures shoud be consider during sql server performance turning?What are the measures shoud be consider during sql server performance turning?</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1750/how-to-do-sql-server-performance-turning#a1759</guid>
<pubDate>Tue, 31 May 2011 03:49:26 +0000</pubDate>
</item>
<item>
<title>Answered: How to import table using “INSERT” statement, in MS SQL Server?</title>
<link>http://prepare4interview.com/133/how-to-import-table-using-insert-statement-in-ms-sql-server#a1758</link>
<description>insert into tablename&lt;br /&gt;
select * from otherdb.dbo.othertable&lt;br /&gt;
&lt;br /&gt;
above statement can be used to import data from other database.&lt;br /&gt;
We can use OPENROWSET utility.</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/133/how-to-import-table-using-insert-statement-in-ms-sql-server#a1758</guid>
<pubDate>Sun, 10 Apr 2011 17:48:39 +0000</pubDate>
</item>
<item>
<title>Answered: What is a DDL, DML and DCL concept in RDBMS world, in MS SQL Server?</title>
<link>http://prepare4interview.com/134/what-is-ddl-dml-and-dcl-concept-in-rdbms-world-in-ms-sql-server#a1757</link>
<description>DDL (Data definition language) defines our database structure. CREATE and ALTER are DDL statements as they affect the way our database structure is organized.&lt;br /&gt;
DML (Data Manipulation Language) lets we do basic functionalities like INSERT, UPDATE, DELETE and MODIFY data in database.&lt;br /&gt;
DCL (Data Control Language) controls you DML and DDL statements so that your data is protected and has consistency. COMITT and ROLLBACK are DCL control statements. DCL guarantees ACID fundamentals of a transaction.</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/134/what-is-ddl-dml-and-dcl-concept-in-rdbms-world-in-ms-sql-server#a1757</guid>
<pubDate>Sat, 09 Apr 2011 10:47:20 +0000</pubDate>
</item>
<item>
<title>Answered: What are the points to keep in mind for performance improvement of the package?</title>
<link>http://prepare4interview.com/876/what-are-points-keep-mind-performance-improvement-package#a1756</link>
<description>http://technet.microsoft.com/en-us/library/cc966529.aspx</description>
<category>SSIS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/876/what-are-points-keep-mind-performance-improvement-package#a1756</guid>
<pubDate>Fri, 18 Mar 2011 16:43:59 +0000</pubDate>
</item>
<item>
<title>Answered: SSIS control flow items</title>
<link>http://prepare4interview.com/1753/ssis-control-flow-items#a1754</link>
<description>To know more about SSIS control flow items, please have a look at this question.&lt;br /&gt;
&lt;br /&gt;
http://prepare4interview.com/965/various-control-flow-items-in-ssis&lt;br /&gt;
&lt;br /&gt;
It is already answered.</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1753/ssis-control-flow-items#a1754</guid>
<pubDate>Tue, 08 Feb 2011 17:40:17 +0000</pubDate>
</item>
<item>
<title>Answered: options for using df command</title>
<link>http://prepare4interview.com/1751/options-for-using-df-command#a1752</link>
<description>u can use df -kh&lt;br /&gt;
for showing disk utilization in MB or GB</description>
<category>UNIX Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1751/options-for-using-df-command#a1752</guid>
<pubDate>Wed, 02 Feb 2011 11:44:18 +0000</pubDate>
</item>
<item>
<title>Answered: Difference between DTS and SSIS?</title>
<link>http://prepare4interview.com/870/difference-between-dts-and-ssis#a1749</link>
<description>dts is ETLS TOOL AS SSIS.but ssis is advanced version of dts.&lt;br /&gt;
ssis have deployment wizard where dts dosen't&lt;br /&gt;
ssis have more transformation objects than dts</description>
<category>SSIS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/870/difference-between-dts-and-ssis#a1749</guid>
<pubDate>Fri, 07 Jan 2011 01:50:26 +0000</pubDate>
</item>
<item>
<title>Answered: What is Extent and Page?</title>
<link>http://prepare4interview.com/116/what-is-extent-and-page#a1748</link>
<description>extent is group 8 data pages each of 8kb and datapage where data stored and of 8kb.</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/116/what-is-extent-and-page#a1748</guid>
<pubDate>Sun, 19 Dec 2010 21:03:14 +0000</pubDate>
</item>
<item>
<title>Answered: What are the Reporting Services components?</title>
<link>http://prepare4interview.com/1653/what-are-the-reporting-services-components#a1747</link>
<description>1) Report Designer&lt;br /&gt;
2) Report manager &lt;br /&gt;
3) Report server</description>
<category>SSRS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1653/what-are-the-reporting-services-components#a1747</guid>
<pubDate>Sun, 19 Dec 2010 16:44:47 +0000</pubDate>
</item>
<item>
<title>Answered: Type your question here!  No need to register!</title>
<link>http://prepare4interview.com/1745/type-your-question-here-no-need-to-register#a1746</link>
<description>Try this..&lt;br /&gt;
&lt;br /&gt;
http://www.sqlshare.com/channel.aspx?cat=c871236d-8554-42e3-8683-4d422356c0bd</description>
<category>SSIS Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1745/type-your-question-here-no-need-to-register#a1746</guid>
<pubDate>Sun, 19 Dec 2010 07:26:44 +0000</pubDate>
</item>
<item>
<title>Answered: What is the most difficult writing assignment you have undertaken recently? What made it challenging? How did you handle it?</title>
<link>http://prepare4interview.com/296/difficult-writing-assignment-undertaken-recently-challenging#a1744</link>
<description>The most difficult writing assignment I have ever undertaken was a simple GED level writing assignment asking to write a pages worth of what I aspired to do in my life. &lt;br /&gt;
&lt;br /&gt;
I found this challenging, in the sense that I simply had no dreams or aspirations or hope of going anywhere with my life. as I thought about what I would have aspired to be before I fell into a depression my mind continued coming up blank further frustrating me. &lt;br /&gt;
&lt;br /&gt;
So I blatantly lied that I would have liked to become a computer engineer.</description>
<category>HR Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/296/difficult-writing-assignment-undertaken-recently-challenging#a1744</guid>
<pubDate>Thu, 16 Dec 2010 15:35:30 +0000</pubDate>
</item>
<item>
<title>Answered: write a query to display middle record in  emp table</title>
<link>http://prepare4interview.com/1740/write-a-query-to-display-middle-record-in-emp-table#a1742</link>
<description>select * from&lt;br /&gt;
(select ROW_NUMBER() OVER(ORDER BY empno) &amp;nbsp;sno, empno,ename from emp)&lt;br /&gt;
where &lt;br /&gt;
sno in &lt;br /&gt;
(&lt;br /&gt;
select floor((count(*)+1)/2) eg from emp&lt;br /&gt;
union&lt;br /&gt;
select ceil((count(*)+1)/2) eg from emp&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
Try this..</description>
<category>SQL Server Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1740/write-a-query-to-display-middle-record-in-emp-table#a1742</guid>
<pubDate>Mon, 22 Nov 2010 07:58:28 +0000</pubDate>
</item>
<item>
<title>Answered: What are the major differences between services and Web services? What is the difference WCF and Web services?</title>
<link>http://prepare4interview.com/1735/differences-between-services-services-difference-services#a1739</link>
<description>The Windows Communication Foundation (or WCF) is an application programming interface (API) in the .NET Framework for building connected, service-oriented applications.</description>
<category>.NET Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1735/differences-between-services-services-difference-services#a1739</guid>
<pubDate>Wed, 10 Nov 2010 11:30:10 +0000</pubDate>
</item>
<item>
<title>Answered: What are different bindings supported by WCF?</title>
<link>http://prepare4interview.com/1737/what-are-different-bindings-supported-by-wcf#a1738</link>
<description>WCF includes predefined bindings. They cover most of bindings widely needed in day-to-day application. However, just incase you find that you need to define something custom WCF does not stop you. So let us try to understand what each binding provides.&lt;br /&gt;
&lt;br /&gt;
BasicHttpBinding:&lt;br /&gt;
-----------------&lt;br /&gt;
This binding is used when we need to use SOAP over HTTP. This binding can also be configured to be used as HTTPS. It can be also configured to send data in plain text or in optimized form like MTOM.&lt;br /&gt;
&lt;br /&gt;
WsHttpBinding:&lt;br /&gt;
-----------------&lt;br /&gt;
It is same like BasicHttpBinding. In short, it uses SOAP over HTTP. But with it also supports reliable message transfer, security and transaction. WS-Reliable Messaging, security with WS-Security, and transactions with WS-Atomic Transaction supports reliable message.&lt;br /&gt;
&lt;br /&gt;
NetTcpBinding:&lt;br /&gt;
-----------------&lt;br /&gt;
This binding sends binary-encoded SOAP, including support for reliable message transfer, security, and transactions, directly over TCP. The biggest disadvantage of NetTcpBinding is that both server and client should be also made in .NET language.&lt;br /&gt;
&lt;br /&gt;
NetNamedPipesBinding:&lt;br /&gt;
-----------------&lt;br /&gt;
This binding Sends binary-encoded SOAP over named pipes. This binding is only usable for WCF-to-WCF communication between processes on the same Windows-based machine.&lt;br /&gt;
&lt;br /&gt;
NetMsmqBinding:&lt;br /&gt;
-----------------&lt;br /&gt;
This binding sends binary-encoded SOAP over MSMQ. This binding can only be used for WCF-to-WCF communication.</description>
<category>.NET Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1737/what-are-different-bindings-supported-by-wcf#a1738</guid>
<pubDate>Sun, 31 Oct 2010 18:53:26 +0000</pubDate>
</item>
<item>
<title>Answered: What are the advantages of hosting WCF Services in IIS as compared to self-hosting?</title>
<link>http://prepare4interview.com/1733/what-advantages-hosting-services-iis-compared-self-hosting#a1734</link>
<description>There are two main advantages of using IIS over self-hosting:-&lt;br /&gt;
Automatic activation&lt;br /&gt;
--------------------------&lt;br /&gt;
IIS provides automatic activation that means the service is not necessary to be running in advance. When any message is received by the service it then launches and fulfills the request. But in case of self hosting the service should always be running.&lt;br /&gt;
&lt;br /&gt;
Process recycling&lt;br /&gt;
-----------------------&lt;br /&gt;
If IIS finds that a service is not healthy that means if it has memory leaks etc, IIS recycles the process. Ok let us try to understand what is recycling in IIS process. For every browser instance, a worker process is spawned and the request is serviced. When the browser disconnects the worker, process stops and you loose all information. IIS also restarts the worker process. By default, the worker process is recycled at around 120 minutes. So why does IIS recycle. By restarting the worker process it ensures any bad code or memory leak do not cause issue to the whole system.&lt;br /&gt;
In case of self-hosting both the above features, you will need to code yourself. Lot of work right!!. That is why IIS is the best option for hosting services until you are really doing something custom.&lt;br /&gt;
Below figure shows where the recycle option is located in IIS. You need to click on the DefaultAppool and then Properties.</description>
<category>.NET Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1733/what-advantages-hosting-services-iis-compared-self-hosting#a1734</guid>
<pubDate>Sun, 31 Oct 2010 18:50:21 +0000</pubDate>
</item>
<item>
<title>How do we host a WCF service in IIS?</title>
<link>http://prepare4interview.com/1731/how-do-we-host-a-wcf-service-in-iis</link>
<description></description>
<category>.NET Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1731/how-do-we-host-a-wcf-service-in-iis</guid>
<pubDate>Sun, 31 Oct 2010 18:46:29 +0000</pubDate>
</item>
<item>
<title>Answered: what are the various ways of hosting a WCF service?</title>
<link>http://prepare4interview.com/1729/what-are-the-various-ways-of-hosting-a-wcf-service#a1730</link>
<description>There are three major ways to host a WCF service:-&lt;br /&gt;
* Self-hosting the service in his own application domain. This we have already covered in the first section. The service comes in to existence when you create the object of Service Host class and the service closes when you call the Close of the Service Host class.&lt;br /&gt;
* Host in application domain or process provided by IIS Server.&lt;br /&gt;
* Host in Application domain and process provided by WAS (Windows Activation Service) Server.</description>
<category>.NET Interview Questions and Answers</category>
<guid isPermaLink="true">http://prepare4interview.com/1729/what-are-the-various-ways-of-hosting-a-wcf-service#a1730</guid>
<pubDate>Sun, 31 Oct 2010 18:45:36 +0000</pubDate>
</item>
</channel>
</rss>
