I want following data from select query in sql server 2005?
-
NULL Bank OD accounts Loans (Liabilities) 0.00 NULL Branch / Divisions NULL 0.00 NULL Capital Account NULL 0.00 NULL Current Assets NULL 0.00 NULL Current Liabilities NULL 0.00 NULL Deposits (Asset) Current Assets 0.00 NULL Duties & Taxes Current Liabilities 0.00 NULL Expenses Direct NULL 0.00 NULL Expenses InDirect NULL 0.00 NULL Fixed Assets NULL 0.00 NULL Income Direct NULL 0.00 NULL Income Indirect NULL 0.00 NULL Investments NULL 0.00 NULL Loans & Advances Current Assets 0.00 NULL Loans (Liabilities) NULL 0.00 NULL Misc. Expenses NULL 0.00 NULL Provisions Current Liabilities 0.00 NULL Reserves & Surplus Capital Account 0.00 NULL Secured Loans Loans (Liabilities) 0.00 NULL Stock-in-hand Current Assets 0.00 NULL Sundry Debtors Current Assets 0.00 NULL Suspense Account NULL 0.00 Abhishek Industries Sundry Creditors Current Liabilities 0.00 Asarwa Mills Sundry Creditors Current Liabilities 0.00 Balaji Enterprise Sundry Creditors Current Liabilities 0.00 Cash Account Cash-in-hand Current Assets 0.00 ABC Sundry Creditors Current Liabilities 0.00 Himanshu UnSecured Loans Loans (Liabilities) 0.00 Induson International Sundry Creditors Current Liabilities 0.00 Menta Brothers Sundry Creditors Current Liabilities 0.00 NNS Bank Accounts Current Assets 0.00 Purchase Account Purchase Account NULL 0.00 Sagar Textile Sundry Creditors Current Liabilities 0.00 Sales Account Sales Account NULL 0.00 i want select query to get follwoing data from above data NULL Bank OD accounts Loans (Liabilities) 0.00 NULL Branch / Divisions NULL 0.00 NULL Deposits (Asset) Current Assets 0.00 NULL Duties & Taxes Current Liabilities 0.00 NULL Expenses Direct NULL 0.00 NULL Expenses InDirect NULL 0.00 NULL Fixed Assets NULL 0.00 NULL Income Direct NULL 0.00 NULL Income Indirect NULL 0.00 NULL Investments NULL 0.00 NULL Loans & Advances Current Assets 0.00 NULL Misc. Expenses NULL 0.00 NULL Provisions Current Liabilities 0.00 NULL Reserves & Surplus Capital Account 0.00 NULL Secured Loans Loans (Liabilities) 0.00 NULL Stock-in-hand Current Assets 0.00 NULL Sundry Debtors Current Assets 0.00 NULL Suspense Account NULL 0.00 Abhishek Industries Sundry Creditors Current Liabilities 0.00 Asarwa Mills Sundry Creditors Current Liabilities 0.00 Balaji Enterprise Sundry Creditors Current Liabilities 0.00 Cash Account Cash-in-hand Current Assets 0.00 ABC Sundry Creditors Current Liabilities 0.00 Himanshu UnSecured Loans Loans (Liabilities) 0.00 Induson International Sundry Creditors Current Liabilities 0.00 Menta Brothers Sundry Creditors Current Liabilities 0.00 NNS Bank Accounts Current Assets 0.00 Purchase Account Purchase Account NULL 0.00 Sagar Textile Sundry Creditors Current Liabilities 0.00 Sales Account Sales Account NULL 0.00
-
Answer:
Maybe I'm missing something, but looks like your result set of data is the same as the whole, which would be easily gotten via SELECT * FROM someTable
jigi at Yahoo! Answers Visit the source
Related Q & A:
- How to upgrade sql server express 2005 to 2008R2?Best solution by Server Fault
- How Do I Configure SQL Server 2005 Backend?Best solution by Server Fault
- How to present large dataset from a SQL Server query?Best solution by stackoverflow.com
- How can I convert the query from SQL to LINQ?Best solution by Stack Overflow
- How to change column data's as a separate column wise format in a SQL Server?Best solution by stackoverflow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.