<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns: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'><id>tag:blogger.com,1999:blog-8288144072075473699</id><updated>2024-10-07T09:07:48.205+05:30</updated><category term="SQL-Server"/><category term="Excel"/><category term="Access"/><title type='text'>SQL Query/SQL-Server/Excel/Access</title><subtitle type='html'>Learn SQL Query from the very basics to the most advanced level. SQL Query can make you a friend of Database.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>45</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-4732678311055728348</id><published>2011-11-07T02:31:00.003+05:30</published><updated>2011-11-07T02:33:31.111+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>The fastest way to Copy a table with a million rows from one database to another in SQL Server.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;I have been working with SQL Server in most of my career, many consequences arise when we need to backup a large database, or merge two large database into a single database. The question here is not how it is done? but the question is what is the fastest way to do it?&lt;br /&gt;
&lt;br /&gt;
To backup a whole database:&lt;br /&gt;
The slower way: you can use the &#39;backup database&#39; wizard from SQL-Server&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; you can use the &#39;Copy database&#39; wizard&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
The faster way: you can use the restore wizard, restore it as a new name. It will be done within a minutes for database up to 10GB.&lt;br /&gt;
&lt;br /&gt;
To copy a table with a million rows and hundreds of columns&lt;br /&gt;
The slower way: you can select all from the table, copy it to excel and import it.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; you can export the table as text and import it to the destination server.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; you can use the &#39;Copy database&#39; wizard&lt;br /&gt;
However, the above techniques can take hours to complete.&lt;br /&gt;
&lt;br /&gt;
The fastest way:&lt;br /&gt;
use the query: SELECT * INTO DESTINATION_DATABASE_NAME.DES_TABLENAME FROM SOURCE_DATABASENAME.SOURCE_TABLENAME&lt;br /&gt;
&lt;br /&gt;
This query works best for SQL SERVER 2005/2008.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/4732678311055728348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/11/fastest-way-to-copy-table-with-million.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/4732678311055728348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/4732678311055728348'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/11/fastest-way-to-copy-table-with-million.html' title='The fastest way to Copy a table with a million rows from one database to another in SQL Server.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-2747712004639075537</id><published>2011-11-07T02:30:00.003+05:30</published><updated>2011-11-07T02:33:09.947+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to declare a SQL query and execute it in SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Sometimes consequences arise in which you need to declare a query and execute it a number of times when you are working in SQL Server or any Server in SQL. There are store procedures that requires a query to be declared and execute it under some loop or even in an if else statement.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
One way is to write the query everytime, but when we have multiple values in the query, say the query needs to change some of it&#39;s features everytime you call, it is necessary to declare a query as a variable and execute it whenever needed. We have the query as below:&lt;br /&gt;
&lt;br /&gt;
declare @query nvarchar(max)&lt;br /&gt;
set @query = (&#39;select * from Table&#39;)&lt;br /&gt;
exec (@query)&lt;br /&gt;
&lt;br /&gt;
The above shows a very simple SQL Server query to select a table. From the above example, we can bend it to the way we like. When we learned, 1 + 1 = 2, We don&#39;t always need to explain what will be 2 + 2. :)&lt;br /&gt;
&lt;br /&gt;
Just for a heads up, I would like to add one more example:&lt;br /&gt;
&lt;br /&gt;
declare @Cnt int set @Cnt=10&lt;br /&gt;
declare @query nvarchar(max)&lt;br /&gt;
set @query = (&#39;select * from Table&#39; where Column_ID = @Cnt)&lt;br /&gt;
exec (@query)&lt;br /&gt;
set @Cnt = @Cnt + 1&lt;br /&gt;
exec (@Query)&lt;br /&gt;
&lt;br /&gt;
and so on.&lt;br /&gt;
NB: Do not forget the brackets that hold @query. SQL Server will not execute the query without the brackets&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/2747712004639075537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/11/how-to-declare-sql-query-and-execute-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2747712004639075537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2747712004639075537'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/11/how-to-declare-sql-query-and-execute-it.html' title='How to declare a SQL query and execute it in SQL Server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-5432921613982375683</id><published>2011-11-07T02:29:00.002+05:30</published><updated>2011-11-07T02:32:37.486+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to use a &#39;while&#39; loop in sql server.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;In sql server, &#39;while&#39; loop is the most used loop and the most popular loop. Most programers also use it in stead of a &#39;for&#39; loop. Suppose, you need to do a task for n number of times like, &#39;while&#39; loop is successfully used:&lt;br /&gt;
&lt;br /&gt;
The &#39;while&#39; loop syntax in sql is:&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
while (boolean expression)&lt;br /&gt;
begin&lt;br /&gt;
do this; /*update/insert/delete/etc*/&lt;br /&gt;
increment/decrement&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
Eg.&lt;br /&gt;
&lt;br /&gt;
declare @table as table(ID int identity(1,1),Name varchar(20))&lt;br /&gt;
declare @Cnt int set @Cnt=1&lt;br /&gt;
while (@Cnt &amp;lt; 10)&lt;br /&gt;
insert into @table&lt;br /&gt;
select Name from SomeTable where SomeTable_ID = @Cnt&lt;br /&gt;
set @Cnt = @Cnt + 1&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
NB: SomeTable is the table from where we are getting the name and SomeTable_ID is the ID. This query works in SQL Server.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/5432921613982375683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/11/how-to-use-while-loop-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/5432921613982375683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/5432921613982375683'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/11/how-to-use-while-loop-in-sql-server.html' title='How to use a &#39;while&#39; loop in sql server.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-3114013450759416403</id><published>2011-11-03T02:21:00.004+05:30</published><updated>2011-11-06T23:09:31.503+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to put comma(,) seperations in a large numeric value of SQL Server Database using select statement?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKL7URwzY6AXT0mHz53UGRULpsapNYtp_xuItsqM2rRb36xZB0ivK9a_a5FDxWGIHPFXXU7rKCloupx7iZDDpwkFuT6bsevBqkB9K9BdgEowniL0vB_cEB0fxTka3b5GGacBfkwATxJVUz/s1600/11-3-2011+1-47-38+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;368&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKL7URwzY6AXT0mHz53UGRULpsapNYtp_xuItsqM2rRb36xZB0ivK9a_a5FDxWGIHPFXXU7rKCloupx7iZDDpwkFuT6bsevBqkB9K9BdgEowniL0vB_cEB0fxTka3b5GGacBfkwATxJVUz/s640/11-3-2011+1-47-38+AM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;inserting commas in number SQL &lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&amp;nbsp;Suppose you have a large numeric value that you want to make more readable in SQL select query, that is, you have 1000000000 numeric data and you want to display it as 1,000,000,000.00 or may be just 1,000,000,000 if it is not a money. It can be easily done in SQL Server by joining two/three functions: CAST and CONVERT and PARSENAME&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
1. First lets create a table or simply decleare it as&lt;br /&gt;
&lt;br /&gt;
CREATE TABLE Table_1(COLUMN_1 NVARCHAR(20), COLUMN_2 NVARCHAR (20))&lt;br /&gt;
INSERT INTO Table_1 VALUES(1230000000.45,3250000000.87)&lt;br /&gt;
&lt;br /&gt;
Now we have the table T1 as:&lt;br /&gt;
&lt;br /&gt;
COLUMN_1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; COLUMN_2&lt;br /&gt;
&lt;br /&gt;
1230000000.45&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 3250000000.87&lt;br /&gt;
&lt;br /&gt;
2. USE THE QUERY BELOW&lt;br /&gt;
&lt;br /&gt;
CORRECT QUERY: &lt;br /&gt;
&lt;br /&gt;
SELECT (select convert(varchar,cast(COLUMN_1 as money),1)) FROM Table_1&lt;br /&gt;
This will give 1,230,000,000.45&lt;br /&gt;
&lt;br /&gt;
SELECT PARSENAME((select convert(varchar,cast(COLUMN_2 as money),1)), 2) FROM Table_1&lt;br /&gt;
This will give 3,250,000,000&lt;br /&gt;
&lt;br /&gt;
It can also be done by a select statement as:&lt;br /&gt;
&lt;br /&gt;
SELECT PARSENAME((select convert(varchar,cast(10000000 as money),1)), 2)&lt;br /&gt;
10,000,000&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/3114013450759416403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/11/how-to-put-comma-seperations-in-large.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/3114013450759416403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/3114013450759416403'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/11/how-to-put-comma-seperations-in-large.html' title='How to put comma(,) seperations in a large numeric value of SQL Server Database using select statement?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKL7URwzY6AXT0mHz53UGRULpsapNYtp_xuItsqM2rRb36xZB0ivK9a_a5FDxWGIHPFXXU7rKCloupx7iZDDpwkFuT6bsevBqkB9K9BdgEowniL0vB_cEB0fxTka3b5GGacBfkwATxJVUz/s72-c/11-3-2011+1-47-38+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-4910517168468648764</id><published>2011-11-03T02:11:00.003+05:30</published><updated>2011-11-06T23:09:48.041+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>1. How can I CAST a string (nvarchar datatype) from a database table as integer?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8VXbnmO83V5yq3CWosUqrM9o1EyZfmxDXYrQw5IUcmGwMjmujLU_H2U8W3wtAZQlE65yshSVXKErAZY1R6Pe-pXmRArGxzZdBKXysIZ7TPtmWHp40zPDPk9FOYuxXNkI_uDczI1MgGtx7/s1600/11-3-2011+1-27-58+AM.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;427&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8VXbnmO83V5yq3CWosUqrM9o1EyZfmxDXYrQw5IUcmGwMjmujLU_H2U8W3wtAZQlE65yshSVXKErAZY1R6Pe-pXmRArGxzZdBKXysIZ7TPtmWHp40zPDPk9FOYuxXNkI_uDczI1MgGtx7/s640/11-3-2011+1-27-58+AM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;string into integer&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
If you want to string datatype into integer using SQL Server. You can CAST an nvarchar datatype from a table (any other datatype too) into integer by first using the ROUND function as long as the data is a number. You can also CAST an expression within codes in SQL Server into integer as long as they are numeric values or numbers.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
1. First lets create a table or simply decleare it as&lt;br /&gt;
&lt;br /&gt;
CREATE TABLE T1(COLUMN_1 NVARCHAR(20), COLUMN_2 NVARCHAR (20))&lt;br /&gt;
INSERT INTO T1 VALUES(123.45,325.87)&lt;br /&gt;
&lt;br /&gt;
Now we have the table T1 as:&lt;br /&gt;
&lt;br /&gt;
COLUMN_1&amp;nbsp;&amp;nbsp;&amp;nbsp; COLUMN_2&lt;br /&gt;
123.45&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 325.87&lt;br /&gt;
&lt;br /&gt;
2. USE THE QUERY BELOW&lt;br /&gt;
&lt;br /&gt;
CORRECT: &lt;br /&gt;
&lt;br /&gt;
SELECT ROUND(COLUMN_1,1) FROM T1&lt;br /&gt;
This will give 123.5&lt;br /&gt;
&lt;br /&gt;
SELECT CAST(ROUND(COLUMN_1,2) AS INT) FROM T1&lt;br /&gt;
This will give 123&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;ERROR&lt;br /&gt;
&lt;br /&gt;
SELECT CAST(COLUMN_1 AS INT) FROM T1&lt;br /&gt;
This will give data conversion error as&lt;br /&gt;
&lt;br /&gt;
&quot;Msg 245, Level 16, State 1, Line 1&lt;br /&gt;
Conversion failed when converting the nvarchar value &#39;123.45&#39; to data type int.&quot;&lt;br /&gt;
&lt;br /&gt;
LIKEWISE, using only a select statement, you can test the above example as:&lt;br /&gt;
&lt;br /&gt;
CORRECT QUERY:&lt;br /&gt;
&lt;br /&gt;
SELECT ROUND(123.49546,1)&lt;br /&gt;
This will give 123.5&lt;br /&gt;
&lt;br /&gt;
SELECT CAST(ROUND(123.98635472,2) AS INT)&lt;br /&gt;
This will give 123&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/4910517168468648764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/11/1-how-can-i-cast-string-nvarchar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/4910517168468648764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/4910517168468648764'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/11/1-how-can-i-cast-string-nvarchar.html' title='1. How can I CAST a string (nvarchar datatype) from a database table as integer?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8VXbnmO83V5yq3CWosUqrM9o1EyZfmxDXYrQw5IUcmGwMjmujLU_H2U8W3wtAZQlE65yshSVXKErAZY1R6Pe-pXmRArGxzZdBKXysIZ7TPtmWHp40zPDPk9FOYuxXNkI_uDczI1MgGtx7/s72-c/11-3-2011+1-27-58+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-7022433368193640498</id><published>2011-11-02T01:36:00.002+05:30</published><updated>2011-11-06T23:10:06.080+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>Splitting excel into 4 areas.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Guys, the figure below is not any photoshop work, it is the faeture of Microsoft Excel.&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5UKP-qbntGB51m6-fSdfce4FVpqrDxA7eFCFrqx5qGaLr1Lw9_whWqvv1eGBL6Z1vd2yeEaxa7P-g4lpYYwcZ8BHvm0TFuJu2pas5YKGaQGqW9FiTV-NZpVZpuomluZQFtGppyhkutpsx/s1600/split.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5UKP-qbntGB51m6-fSdfce4FVpqrDxA7eFCFrqx5qGaLr1Lw9_whWqvv1eGBL6Z1vd2yeEaxa7P-g4lpYYwcZ8BHvm0TFuJu2pas5YKGaQGqW9FiTV-NZpVZpuomluZQFtGppyhkutpsx/s400/split.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Spliting a page in excel&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;To make your excel page into 4 parts,&lt;br /&gt;
1. select the cell in the page you want to split&lt;br /&gt;
2. Goto view pane and click Split, to unsplit, do the reverse and you are back.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/7022433368193640498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/11/splitting-excel-into-4-areas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7022433368193640498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7022433368193640498'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/11/splitting-excel-into-4-areas.html' title='Splitting excel into 4 areas.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5UKP-qbntGB51m6-fSdfce4FVpqrDxA7eFCFrqx5qGaLr1Lw9_whWqvv1eGBL6Z1vd2yeEaxa7P-g4lpYYwcZ8BHvm0TFuJu2pas5YKGaQGqW9FiTV-NZpVZpuomluZQFtGppyhkutpsx/s72-c/split.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-6300310269130117328</id><published>2011-11-02T01:22:00.002+05:30</published><updated>2011-11-06T23:10:22.043+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>Freeze and Unfreeze panes in Microsoft Excel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This will make certain columns or rows&amp;nbsp;freeze&amp;nbsp;or fixed in&amp;nbsp;Microsoft&amp;nbsp;excel. Suppose you want to stroll on the large page of excel without going away from the first column(certain column). In other words, you need to view other columns or rows with respect to a fixed row, then you can use freeze and unfreeze in excel.&lt;br /&gt;
To freeze and unfreeze,&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
select the column or the row,&lt;br /&gt;
go to view, and click on the freeze panes.&lt;br /&gt;
&lt;br /&gt;
The figure below shows Column A freeze so as to be viewed adjacent to column Z and AA, etc&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR6RGoLMVtOo-ve7EC1hHHMi9QA-_cuHovWq6mQNaShEP-LC65fQFIWY_lAJ7twUGrIsqxg4UTyOOHEODUeuO4rbRlIC-StSX_lXELkMuvQoHNga9tXhvpPrSRe8wJoEkMNvp_v8G-9ZpR/s1600/11-2-2011+1-19-30+AM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;451&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR6RGoLMVtOo-ve7EC1hHHMi9QA-_cuHovWq6mQNaShEP-LC65fQFIWY_lAJ7twUGrIsqxg4UTyOOHEODUeuO4rbRlIC-StSX_lXELkMuvQoHNga9tXhvpPrSRe8wJoEkMNvp_v8G-9ZpR/s640/11-2-2011+1-19-30+AM.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Freeze panes Unfreeze panes&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/6300310269130117328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/11/freeze-and-unfreeze-panes-in-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/6300310269130117328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/6300310269130117328'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/11/freeze-and-unfreeze-panes-in-microsoft.html' title='Freeze and Unfreeze panes in Microsoft Excel'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR6RGoLMVtOo-ve7EC1hHHMi9QA-_cuHovWq6mQNaShEP-LC65fQFIWY_lAJ7twUGrIsqxg4UTyOOHEODUeuO4rbRlIC-StSX_lXELkMuvQoHNga9tXhvpPrSRe8wJoEkMNvp_v8G-9ZpR/s72-c/11-2-2011+1-19-30+AM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-2715463977953940485</id><published>2011-10-26T21:35:00.002+05:30</published><updated>2011-11-06T23:10:36.283+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to generate all the store procedures of a database in SQL Server 2005/2008.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1. connect to the server&lt;br /&gt;
2. right click the database&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
3. go to tasks --&amp;gt; generate scripts&lt;br /&gt;
4. then you will get the dialog box as below and follow the steps&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNYRTGNICNmVuPa6Jul31HS67NXjcTv0E-WwDoNBTooi4hhAx9GWOChguJe8aov0xj0i90tyAu3P77YcQ364zHSLLJbpDs7EZmlkqTJgnhtofAhLGw-Rq1EYOlZ8irR3IabJri-2AgtMNw/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;295&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNYRTGNICNmVuPa6Jul31HS67NXjcTv0E-WwDoNBTooi4hhAx9GWOChguJe8aov0xj0i90tyAu3P77YcQ364zHSLLJbpDs7EZmlkqTJgnhtofAhLGw-Rq1EYOlZ8irR3IabJri-2AgtMNw/s320/1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;start page&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi07oyI5flHWFOhpyVXqi1PMiqtGVegZ44qt86pMx12E5czT445weUmgtMzGG8vQZUycYTnD2ThKDnoy36zUiBJJj33ux19fPIfePy-pHayiagzvBg7nLremDu0yl9lT9VdmPecojjuBsLV/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;293&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi07oyI5flHWFOhpyVXqi1PMiqtGVegZ44qt86pMx12E5czT445weUmgtMzGG8vQZUycYTnD2ThKDnoy36zUiBJJj33ux19fPIfePy-pHayiagzvBg7nLremDu0yl9lT9VdmPecojjuBsLV/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;select the database&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUaD80VJX08TYmYZxhwb8IRxGAL3d88HKKuDgPlJA28Vvi7L6wTOZd1BKvjVnJDFeFEJu2MjxJqw1SdfcTZRt7hyphenhyphenAH4xP10KJpnAf_ZRqbKbIshaRqjvYl2ihuHeuMU4IjZ1z5ci_Qj4-n/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;289&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUaD80VJX08TYmYZxhwb8IRxGAL3d88HKKuDgPlJA28Vvi7L6wTOZd1BKvjVnJDFeFEJu2MjxJqw1SdfcTZRt7hyphenhyphenAH4xP10KJpnAf_ZRqbKbIshaRqjvYl2ihuHeuMU4IjZ1z5ci_Qj4-n/s320/3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;just click next&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDBqYxYPBW2FNsuO2IUpVFI_Q_eLa6pbqYxNcvgTgcWlnQec_T5LqSo9QbxIKHsgQymvQu3dxu6HHMFuLsb9IhF-LPmya9nxFWpZ-JEvo3yxWvZS49m4r2WQ7aFRtHnsk31BOLE8S2DyO/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;294&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJDBqYxYPBW2FNsuO2IUpVFI_Q_eLa6pbqYxNcvgTgcWlnQec_T5LqSo9QbxIKHsgQymvQu3dxu6HHMFuLsb9IhF-LPmya9nxFWpZ-JEvo3yxWvZS49m4r2WQ7aFRtHnsk31BOLE8S2DyO/s320/5.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;select what ever script you need to generate&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNGsIVddc3MeV516WHjlYVTOJfD_J4v6p0b-VVAlTnqEahneYRCgMtEsSHzPmXePLHOJOGlnkVtphhRo_wha4kltqztUDyh8vkMMrp_Hb15nr3e19NetBDWRVM5v3saONCcV8MIpYy2O_C/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;284&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNGsIVddc3MeV516WHjlYVTOJfD_J4v6p0b-VVAlTnqEahneYRCgMtEsSHzPmXePLHOJOGlnkVtphhRo_wha4kltqztUDyh8vkMMrp_Hb15nr3e19NetBDWRVM5v3saONCcV8MIpYy2O_C/s320/6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;select the name of the store procedure or a table depending on your selection&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/2715463977953940485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-generate-all-store-procedures-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2715463977953940485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2715463977953940485'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-generate-all-store-procedures-of.html' title='How to generate all the store procedures of a database in SQL Server 2005/2008.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNYRTGNICNmVuPa6Jul31HS67NXjcTv0E-WwDoNBTooi4hhAx9GWOChguJe8aov0xj0i90tyAu3P77YcQ364zHSLLJbpDs7EZmlkqTJgnhtofAhLGw-Rq1EYOlZ8irR3IabJri-2AgtMNw/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-3273769544893961946</id><published>2011-10-26T21:07:00.002+05:30</published><updated>2011-11-06T23:10:55.180+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>How to create a hyperlink in excel work sheet</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1. select the cell in which you want to create a hyperlink&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. press Ctrl+K or (Insert --&amp;gt; Hyprlink), then you get the dialog box as shown below&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_qSCujL6AUJhcLFNc65CqPfmy6NCM7zFZbr8y1W-cAKzy7VbxaI73uveOCuF3TNR9lCZpHBTs8DuaGAkeYx-VdgrLNY7Iokzb6g6CNe4texlGmqKb4dJgS4gFE8nkls62Z7p38OYrw1Nz/s1600/kik.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_qSCujL6AUJhcLFNc65CqPfmy6NCM7zFZbr8y1W-cAKzy7VbxaI73uveOCuF3TNR9lCZpHBTs8DuaGAkeYx-VdgrLNY7Iokzb6g6CNe4texlGmqKb4dJgS4gFE8nkls62Z7p38OYrw1Nz/s400/kik.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;dialog box to add a hyper link in excel&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Enter the name you want to display in the excel in the upper text box&lt;br /&gt;
4. Enter the address of the website or the location of the document or the cell location in the sheet in the lower text box.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/3273769544893961946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-create-hyperlink-in-excel-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/3273769544893961946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/3273769544893961946'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-create-hyperlink-in-excel-work.html' title='How to create a hyperlink in excel work sheet'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_qSCujL6AUJhcLFNc65CqPfmy6NCM7zFZbr8y1W-cAKzy7VbxaI73uveOCuF3TNR9lCZpHBTs8DuaGAkeYx-VdgrLNY7Iokzb6g6CNe4texlGmqKb4dJgS4gFE8nkls62Z7p38OYrw1Nz/s72-c/kik.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-9216197308309869888</id><published>2011-10-26T20:56:00.002+05:30</published><updated>2011-11-06T23:11:24.138+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>How to Auto-Increment/Auto-decrement Numbers in Excel in any series</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1. select the cell from which you want to start the series or where the incrementing should start&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
2. enter the number which you want to start the serien&lt;br /&gt;
3. select the cell by keeping the cursor at the right bottom of the rectangle (the cursor will become a plus sign)&lt;br /&gt;
4. hold the right button of the mouse and drag where you want to increment/decrement the number&lt;br /&gt;
5. as you leave the mouse, options will appear, chose series and fill the amount you want to increment or decrement as (1)-for incrementing by 1 and (-1) to decrement by 1.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/9216197308309869888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-auto-incrementauto-decrement.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/9216197308309869888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/9216197308309869888'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-auto-incrementauto-decrement.html' title='How to Auto-Increment/Auto-decrement Numbers in Excel in any series'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-4676523926447529157</id><published>2011-10-26T20:43:00.004+05:30</published><updated>2011-11-06T23:11:40.949+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>Basic shortcuts in Microsoft Excel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;Some of the important and basic Microsoft excel Keyboard short-cuts are listed below:&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+A&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this selects all the cells in the current worksheet&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+B&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this bolds the selected cells&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+C&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this copies the selected cell/(range of cells)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+F&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this finds a string of text in the current worksheet&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+G&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this takes you to any cell you specify&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+H&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this finds and replaces text or cell content&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+I&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;      = this makes the selected cell as &lt;i&gt;ITALIZED&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+K&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this creates hyperlink for referring a website or a worksheet&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+N&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this opens a new tap or worksheet&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+O&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this opens the box to browse a new file&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+P&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this prints the file&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+S&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this saves the current worksheet or prompts you to save the file&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+U&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this underlines the selected cells&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+V&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this pastes the copied/cut cells in the selected cell(s)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+W&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this closes the current worksheet&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+X&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this cuts the selected cells&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+Y&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      this repeats the undo&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;color: black; line-height: normal;&quot;&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;Ctrl+Z&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;=      undo: it takes you back to the previous state&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/4676523926447529157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/basic-shortcuts-in-microsoft-excel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/4676523926447529157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/4676523926447529157'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/basic-shortcuts-in-microsoft-excel.html' title='Basic shortcuts in Microsoft Excel'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-7241675435557995906</id><published>2011-10-25T01:35:00.002+05:30</published><updated>2011-11-06T23:11:53.286+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>Left Function, Right Function, Substring in SQL: SQL Server 2005/2008 supported.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;If you have a word and you want the ending alphabets(right) or the beginning alphabets(left) to be selected, &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;you easily use the left and right function as discussed below.&lt;br /&gt;
&lt;br /&gt;
select LEFT(&#39;WELCOME&#39;,2)&lt;br /&gt;
&lt;br /&gt;
This will return &#39;WE&#39;&lt;br /&gt;
&lt;br /&gt;
select RIGHT(&#39;WELCOME&#39;,2)&lt;br /&gt;
&lt;br /&gt;
This will return &#39;ME&#39;&lt;br /&gt;
&lt;br /&gt;
If you are creative enough you can use the above two functions to select any type of combination from a string.&lt;br /&gt;
Example:&lt;br /&gt;
&amp;nbsp;select RIGHT(LEFT(&#39;WELCOME&#39;,5),2)&lt;br /&gt;
This will give &#39;CO&#39; and so on......&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can also avoid the complexity of the above by using the function&amp;nbsp; SUBSTRING as&lt;br /&gt;
SELECT SUBSTRING(&#39;WELCOME&#39;,1,3)&lt;br /&gt;
This will give &#39;WEL&#39;&lt;br /&gt;
SELECT SUBSTRING(&#39;WELCOME&#39;,1,2)&lt;br /&gt;
This will give &#39;WE&#39; and so on.....&lt;br /&gt;
&lt;br /&gt;
Now you can use your creativity to select any parts of the string according to your requirement.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/7241675435557995906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/left-function-right-function-substring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7241675435557995906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7241675435557995906'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/left-function-right-function-substring.html' title='Left Function, Right Function, Substring in SQL: SQL Server 2005/2008 supported.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-2014223007123456276</id><published>2011-10-25T01:23:00.003+05:30</published><updated>2011-11-06T23:12:07.555+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>7 Tips for loading a text file in sql server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1. Always check the file for a delimiter&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
2. It is safer to upload to access database before taking it directly to the SQL server&lt;br /&gt;
3. It is safer to use pipeline &#39;|&#39; as a delimiter rather than any other symbols&lt;br /&gt;
4. Always check the row count before and after upload. This can be done using &#39;Ultra edit&#39;&lt;br /&gt;
5. Match the columns in the source and the destination&lt;br /&gt;
6. .dat can also be converted to a text file by opening with a notepad and saving it as .txt file for easy handling&lt;br /&gt;
7. Make all the data types as text format to solve data conversion issues&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/2014223007123456276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/7-atatips-for-loading-text-file-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2014223007123456276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2014223007123456276'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/7-atatips-for-loading-text-file-in-sql.html' title='7 Tips for loading a text file in sql server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-7486682369511018680</id><published>2011-10-25T01:15:00.002+05:30</published><updated>2011-11-06T23:13:19.728+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to select a word from a sentence or a name.(Parsename)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;You have a sentence or a name with multiple words like First name, Second Name, Surname, etc and you &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;want to write a select statement that will give you a part of the sentence, you can write a SQL query as:&lt;br /&gt;
&lt;br /&gt;
SELECT PARSENAME(REPLACE(&#39;You are welcome here&#39;, &#39; &#39;, &#39;.&#39;), 2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will return &#39;welcome&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
SELECT PARSENAME(REPLACE(&#39;Hello Angelina Jolie&#39;, &#39; &#39;, &#39;.&#39;), 1)&lt;br /&gt;
This will return &#39;Jolie&#39;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/7486682369511018680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-select-word-from-sentence-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7486682369511018680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7486682369511018680'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-select-word-from-sentence-or.html' title='How to select a word from a sentence or a name.(Parsename)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-7397239588940056898</id><published>2011-10-15T22:56:00.002+05:30</published><updated>2011-11-06T23:13:31.220+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to replace a set of alphabets in a string in SqlServer?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;SELECT REPLACE(&#39;you are beautiful&#39;,&#39;beautiful&#39;,&#39;ugly&#39;)&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This will give the result&lt;br /&gt;
&#39;you are ugly&#39;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/7397239588940056898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-replace-set-of-alphabets-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7397239588940056898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7397239588940056898'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-replace-set-of-alphabets-in.html' title='How to replace a set of alphabets in a string in SqlServer?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-2412315618260542190</id><published>2011-10-15T22:51:00.004+05:30</published><updated>2011-11-06T23:13:41.388+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to generate ER-Diagram in Microsoft SQL Server?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;To generate the ER-Diagram or the pictorial representation of the database in Microsoft SQL Server &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;2005/2008-&lt;br /&gt;
1. Set all the references and keys in the database tables&lt;br /&gt;
2. Connect to the server&lt;br /&gt;
3. Select the database of which you want the ER-diagram&lt;br /&gt;
4. Expand the database diagrams&lt;br /&gt;
5. A message will come like the below diagram&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVPtSB68jiRnq2IJWI0AId8VesPIPTivoVC_AqOrDJzrn0UN76p4Jk_Z9HsJv8Y72NoExTQKO83migFqRkbpzsfXKGmmvwpwYrreSvY3s0PhKV633enR7KHB4TmPqZEb066RTNgke8WSk5/s1600/kk.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;85&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVPtSB68jiRnq2IJWI0AId8VesPIPTivoVC_AqOrDJzrn0UN76p4Jk_Z9HsJv8Y72NoExTQKO83migFqRkbpzsfXKGmmvwpwYrreSvY3s0PhKV633enR7KHB4TmPqZEb066RTNgke8WSk5/s400/kk.png&quot; width=&quot;400&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;6. Select Yes in the above message&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;7. Right Click on the database diagrams and select new database diagram&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;8. Select the table you want in the pop up window and click ADD.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;9. Then you will get the diagram&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;10. If you want to copy the diagram, right click on the diagram and select &#39;copy to clipboard&#39; and paste it in new paints file.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;11. Save it as you like.&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/2412315618260542190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-generate-er-diagram-in-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2412315618260542190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2412315618260542190'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-generate-er-diagram-in-microsoft.html' title='How to generate ER-Diagram in Microsoft SQL Server?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVPtSB68jiRnq2IJWI0AId8VesPIPTivoVC_AqOrDJzrn0UN76p4Jk_Z9HsJv8Y72NoExTQKO83migFqRkbpzsfXKGmmvwpwYrreSvY3s0PhKV633enR7KHB4TmPqZEb066RTNgke8WSk5/s72-c/kk.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-4660880678726964021</id><published>2011-10-15T22:28:00.002+05:30</published><updated>2011-11-06T23:14:00.902+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>How to enter a single value/formula in multiple excel cells?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;If you want to enter the same value in many cells in excel, the easiest way is -&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
1. Select all the cells in which you want the value to be entered&lt;br /&gt;
2. Type the value&lt;br /&gt;
3. Press Ctrl+Enter&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/4660880678726964021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-enter-single-valueformula-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/4660880678726964021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/4660880678726964021'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/10/how-to-enter-single-valueformula-in.html' title='How to enter a single value/formula in multiple excel cells?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-2634639785530656002</id><published>2011-09-30T00:30:00.002+05:30</published><updated>2011-11-06T23:14:16.611+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to select multiple rows in one cell?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Suppose we have a table T1 as&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
C1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C2&lt;br /&gt;
1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a&lt;br /&gt;
2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s&lt;br /&gt;
3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d&lt;br /&gt;
4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f&lt;br /&gt;
5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g&lt;br /&gt;
&lt;br /&gt;
Write a query as&lt;br /&gt;
DECLARE @C1_ALL NVARCHAR(MAX)&lt;br /&gt;
select @C1_ALL=coalesce(@C1_ALL + &#39;, &#39;,&#39;&#39;) + C1 from T1&lt;br /&gt;
select @C1_ALL&lt;br /&gt;
&lt;br /&gt;
You will get the result as&lt;br /&gt;
&lt;br /&gt;
C1_ALL&lt;br /&gt;
[1, 2, 3, 4, 5] &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/2634639785530656002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/09/how-to-select-multiple-rows-in-one-cell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2634639785530656002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2634639785530656002'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/09/how-to-select-multiple-rows-in-one-cell.html' title='How to select multiple rows in one cell?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-7530624701322388301</id><published>2011-09-28T23:22:00.004+05:30</published><updated>2011-11-06T23:14:28.256+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to join multiple columns in a single row?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;We have Table(T1) as&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
C1&amp;nbsp;&amp;nbsp;&amp;nbsp; C2&lt;br /&gt;
a&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
b&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;br /&gt;
c&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;br /&gt;
d&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;br /&gt;
&lt;br /&gt;
Write the following sql query&lt;br /&gt;
&lt;br /&gt;
select isnull(C1,&#39;&#39;)+&#39; , &#39;+isnull(C2,&#39;&#39;) as C1C2 from T1&lt;br /&gt;
&lt;br /&gt;
This will give the result as&lt;br /&gt;
C1C2&lt;br /&gt;
a,1&lt;br /&gt;
b,2&lt;br /&gt;
c,3&lt;br /&gt;
d,4&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/7530624701322388301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/09/how-to-join-multiple-columns-in-single.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7530624701322388301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/7530624701322388301'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/09/how-to-join-multiple-columns-in-single.html' title='How to join multiple columns in a single row?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-6125086420177559527</id><published>2011-09-28T23:21:00.002+05:30</published><updated>2011-11-06T23:15:17.476+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to add a rank to a column that has multiple values w.r.t another column?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Here, I have data(T1) like this,&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
C1&amp;nbsp;&amp;nbsp;&amp;nbsp; C2&amp;nbsp;&amp;nbsp;&amp;nbsp; C3&lt;br /&gt;
1&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 11&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; A&lt;br /&gt;
2&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 11&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; B&lt;br /&gt;
3&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 12&amp;nbsp; &amp;nbsp; &amp;nbsp; C&lt;br /&gt;
4&amp;nbsp; &amp;nbsp; &amp;nbsp; 12&amp;nbsp; &amp;nbsp; &amp;nbsp; C&lt;br /&gt;
&lt;br /&gt;
I want to display a column (Rank of C2) that will display the rank of C2 based on the column C1 and get the result as,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
C1&amp;nbsp;&amp;nbsp;&amp;nbsp; C2&amp;nbsp;&amp;nbsp;&amp;nbsp; C3&amp;nbsp;&amp;nbsp;&amp;nbsp; Rank&lt;br /&gt;
1&amp;nbsp; &amp;nbsp; &amp;nbsp; 11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 1&lt;br /&gt;
2&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 11&amp;nbsp; &amp;nbsp;&amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;br /&gt;
3&amp;nbsp; &amp;nbsp; &amp;nbsp; 12&amp;nbsp;&amp;nbsp; &amp;nbsp; C&amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;br /&gt;
4&amp;nbsp; &amp;nbsp; &amp;nbsp; 12&amp;nbsp;&amp;nbsp; &amp;nbsp; C&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 2&lt;br /&gt;
&lt;br /&gt;
select C1,C2,C3,&lt;br /&gt;
ROW_NUMBER() over(partition by C2 order by C1) as Rank&lt;br /&gt;
from T1&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/6125086420177559527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/09/how-to-add-rank-to-column-that-has.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/6125086420177559527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/6125086420177559527'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/09/how-to-add-rank-to-column-that-has.html' title='How to add a rank to a column that has multiple values w.r.t another column?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-1537216803180673968</id><published>2011-08-31T13:39:00.002+05:30</published><updated>2011-11-06T23:15:34.025+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access"/><title type='text'>Export database from SQL Server to Microsoft Access</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This will give all the tables of the database from SQL Server to Access File (.mdb)&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
1. First create the empty access file .mdb as &lt;a href=&quot;http://query4u.blogspot.com/2011/08/how-to-create-mdb-file-in-access-2007.html&quot;&gt;shown here&lt;/a&gt;&lt;br /&gt;
2. Right click on the database you want to export&lt;br /&gt;
3. Go to TASK&lt;br /&gt;
4. Go to EXPORT and Click it, (Import/Export) wizard will appear.&lt;br /&gt;
5. Click Next&lt;br /&gt;
6. select the source as SQL server client&lt;br /&gt;
7. Browse the Access file (.mdb) for the destination file&lt;br /&gt;
8. See if the data maping is correct in Mapping&lt;br /&gt;
9. (optional) click on preview to see the table to created&lt;br /&gt;
10. Chose execute immediately and finish it&lt;br /&gt;
11. Once the copying is done, you now have all the tables of your database in the access database file.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/1537216803180673968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/08/export-database-from-sql-server-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/1537216803180673968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/1537216803180673968'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/08/export-database-from-sql-server-to.html' title='Export database from SQL Server to Microsoft Access'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-2335600107662067386</id><published>2011-08-31T13:31:00.002+05:30</published><updated>2011-11-06T23:15:46.269+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Access"/><title type='text'>How to create .mdb file in Access 2007 or Access 2010?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg70vd1xtaodkNxYCrpxrBQg3dwZ5cesAxwU8bAXVTV7gbirWI6dSdlaDUHdYTupcd-AXF89WCd6s3q7YnATnBoFHXTmNtUmv1BhcivRciZ3gMUcmXH8p1cHlkjzZKwrZ2_dD73RYsdpRsL/s1600/8-31-2011+1-21-44+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;197&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg70vd1xtaodkNxYCrpxrBQg3dwZ5cesAxwU8bAXVTV7gbirWI6dSdlaDUHdYTupcd-AXF89WCd6s3q7YnATnBoFHXTmNtUmv1BhcivRciZ3gMUcmXH8p1cHlkjzZKwrZ2_dD73RYsdpRsL/s400/8-31-2011+1-21-44+PM.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;1. Open the Access file and click on new database&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCGWCQLfGiRO1NRz1eXQ5IcR4zG3-8qW2Zl9DiDFw5nQeH8dKlhTJ0sblPHuo0eIfvQQlvxKFHy16ql4HjfE4iTpUwrvRDvjQU8htYCGz5iy_lpnCfoWzgKwqGmA7GH-GQ7d_LM_nBZ9BE/s1600/8-31-2011+1-22-24+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCGWCQLfGiRO1NRz1eXQ5IcR4zG3-8qW2Zl9DiDFw5nQeH8dKlhTJ0sblPHuo0eIfvQQlvxKFHy16ql4HjfE4iTpUwrvRDvjQU8htYCGz5iy_lpnCfoWzgKwqGmA7GH-GQ7d_LM_nBZ9BE/s400/8-31-2011+1-22-24+PM.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;2. Yow will get this screen and click in the Left Top corner FILE&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl_NTYDcFA6uOUZERTWEromCFYmSz5NRsteEARqbilbaJkkVLPWiU8QZXI2H1jNg3rIilIt0CvsAmFoh3bHmiGn0MXll8tpFt6Iz16ddrqf2grJhDDitN9PzYlQrzjQrsdzZi3XQRDwiNY/s1600/8-31-2011+1-24-11+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl_NTYDcFA6uOUZERTWEromCFYmSz5NRsteEARqbilbaJkkVLPWiU8QZXI2H1jNg3rIilIt0CvsAmFoh3bHmiGn0MXll8tpFt6Iz16ddrqf2grJhDDitN9PzYlQrzjQrsdzZi3XQRDwiNY/s400/8-31-2011+1-24-11+PM.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;3. Select Save and publish, save database as, Access 2000 database as shown above&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/2335600107662067386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/08/how-to-create-mdb-file-in-access-2007.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2335600107662067386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2335600107662067386'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/08/how-to-create-mdb-file-in-access-2007.html' title='How to create .mdb file in Access 2007 or Access 2010?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg70vd1xtaodkNxYCrpxrBQg3dwZ5cesAxwU8bAXVTV7gbirWI6dSdlaDUHdYTupcd-AXF89WCd6s3q7YnATnBoFHXTmNtUmv1BhcivRciZ3gMUcmXH8p1cHlkjzZKwrZ2_dD73RYsdpRsL/s72-c/8-31-2011+1-21-44+PM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-2124186438247881882</id><published>2011-08-31T13:18:00.002+05:30</published><updated>2011-11-06T23:16:01.187+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>Paste/write multiple lines in an excel cell.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;To Paste:&lt;br /&gt;
1. Chose the cell, press F2 and Ctrl+V&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
To break the line while writing&lt;br /&gt;
1. Type a line, press Alt+Enter to break the line in the cell&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/2124186438247881882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/08/pastewrite-multiple-lines-in-excel-cell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2124186438247881882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2124186438247881882'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/08/pastewrite-multiple-lines-in-excel-cell.html' title='Paste/write multiple lines in an excel cell.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-2724141784043601339</id><published>2011-08-31T13:14:00.002+05:30</published><updated>2011-11-06T23:16:18.081+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Excel"/><title type='text'>How can you select select the whole data in a particular row(s) or column(s) in excel sheet that have thousands of data?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1. Chose the cell in the edge of the data&lt;br /&gt;
2. Press Shift or Ctrl and select the rows or columns you want &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
3. Move towards the direction you want to select using the direction keys &lt;br /&gt;
4. Press Shift+End and then Shift+direction you want to select till the end.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/2724141784043601339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/08/how-can-you-select-select-whole-data-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2724141784043601339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/2724141784043601339'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/08/how-can-you-select-select-whole-data-in.html' title='How can you select select the whole data in a particular row(s) or column(s) in excel sheet that have thousands of data?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8288144072075473699.post-3458193788886017660</id><published>2011-08-27T17:23:00.002+05:30</published><updated>2011-11-06T23:16:29.947+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL-Server"/><title type='text'>How to select the maximum value of multiple columns in a single row?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;There is no direct function in SQL to do this. However one can use &lt;a href=&quot;http://query4u.blogspot.com/2011/08/pivotunpivot.html&quot;&gt;Pivot/Unpivot&lt;/a&gt; and dump it into a temporary &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;table and use the MAX function on it.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://query4u.blogspot.com/feeds/3458193788886017660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://query4u.blogspot.com/2011/08/how-to-select-maximum-value-of-multiple.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/3458193788886017660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8288144072075473699/posts/default/3458193788886017660'/><link rel='alternate' type='text/html' href='http://query4u.blogspot.com/2011/08/how-to-select-maximum-value-of-multiple.html' title='How to select the maximum value of multiple columns in a single row?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>