473,396 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do i split the column into different columns in SQL Server

Hi all,

Can any one please provide me the SQL Query for getting my required Output.

I have a table in my sqlserver.That table stores the values like shown in the Figure 1.

From that Input i want the Output as Shown in Figure 2.

Please provide me the SQL Query to get that Output

Thanks In Advance,
Phani Kumar
Attached Images
File Type: png Figure 1.png (8.6 KB, 77 views)
File Type: png Figure 2.png (9.5 KB, 81 views)
Aug 21 '14 #1
0 1019

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Leon | last post by:
Hi! Does anyone knows this problem? When I'm changing view to DS then I'm selecting fiew columns and I'm tying to "print selected records" I obtain different columns on my just printed page...
1
by: Leon | last post by:
Hello again! I post this message once again because I've noticed this kind of behavior in: A2k (mdb,adp) and RunTime. The problem is: When I'm changing view to DS then I'm selecting fiew...
2
by: Thomas Beyerlein | last post by:
Is it possible to have different columns of a datagrid bound to different datatables? I am working on a project and the specks have suddenly changed. Now a item can have multiple reports/...
1
by: Thom Little | last post by:
I have a simple web service that requires no input and returns a character string. I created the service and FTPd it to a remote server. The .dll to the .bin directory and the single .asmx file...
2
by: =?Utf-8?B?Z2FuZQ==?= | last post by:
Hi, In a gridview, How can i display different columns between item and edit modes. For eg. i have a sql that returns productname, categoryname, etc. In viewmode, i need to display only...
9
by: tabakaka | last post by:
i need to connect 2 different columns from 2 tables. note the these columns are strings (varchar) column on 1st table: description1 column on 2nd table: description2 example: description1:...
2
by: javakid | last post by:
Hi all I have results with different columns and i want to order the data according to different columns under different conditions. I have four columns: isflagged(T/F), FlaggedAt(Time),...
2
by: kirankumarn | last post by:
How to convert rows into different columns Thanks in advance
1
by: chopin | last post by:
I was wondering if there was a way to alternate data taken from two different columns in a query, then placing that data into a another query or table. For example, let's say I have the following...
0
by: vasavivenu | last post by:
Hi, Is it possible to datagrid binding single data field in different columns? Please give any related simple example. Thank You, vasavivenu
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.