473,698 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Position of Table Columns

Dear All,

I want to get more than one table columns as a single column by
alternative.

For eg,

Table name = employee

columns = empid, empname, address1,addres s2

Here, I want to interpolate the address2 column on address1 as
mentioned below,

empid empname address1
address2

1 aaa First Layout,
CA, US.
Thanks in advance.

Thanks and Regards,
Ganapathi sundaram.G
Jan 2 '08 #1
3 1522
On Wed, 2 Jan 2008 01:31:21 -0800 (PST), Ganapathi sundaram
<ga************ ***@gmail.comwr ote:

How about this:
select empid, empname, address1 + CHAR(13) + CHAR(10) + address2
from employee

-Tom.

>Dear All,

I want to get more than one table columns as a single column by
alternative.

For eg,

Table name = employee

columns = empid, empname, address1,addres s2

Here, I want to interpolate the address2 column on address1 as
mentioned below,

empid empname address1
address2

1 aaa First Layout,
CA, US.
Thanks in advance.

Thanks and Regards,
Ganapathi sundaram.G
Jan 2 '08 #2
>I want to get more than one table columns as a single column by alternative. <<

Formatting is done in the front end in a tiered architecture, never in
the database. This is a basic programming concept and applies to more
than just SQL.
Jan 2 '08 #3
On Jan 2, 2:31*pm, Ganapathi sundaram <ganapathysunda ...@gmail.com>
wrote:
Dear All,

I want to get more than one table columns as a single column by
alternative.

For eg,

Table name = employee

columns = empid, empname, address1,addres s2

Here, I want to interpolate the address2 column on address1 as
mentioned below,

empid empname address1
* * * * * * * * * * * * * * *address2

1 * * * *aaa * * * * * *First Layout,
* * * * * * * * * * * * * * CA, US.

Thanks in advance.

Thanks and Regards,
Ganapathi sundaram.G

Where do you want to show data?
It seems you should use Reports
Jan 3 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
9569
by: Doug Baroter | last post by:
What is a good method/mechanism to swap the position of multiple columns? For instance, tblXZY has the followings columns and respective positions: tblXZY ====== xyzUUID 1 fn 2 ln 3 phone 4
14
21918
by: Zenobia | last post by:
Hello folks, Is it possible to position an item within a <td> element? For instance see below. The table has multiple rows, one for each database record. Each row has 3 hrefs associated with it (for edit, delete and update). I want to position these 3 href items in the same columns, which would be posible if the span could be positioned - for instance on the extreme right of the td in which it is contained.
1
1710
by: HolyCow | last post by:
I've laid out a web page, and it looks exactly how I like it. But I want it to behave well should the user decide to increment the size of the text. The layout is basically a solid colored bar down the left margin, a logo across the top of the page, a box that contains a table of text on the left side of the page, a box containing text on the right side of the page, and then a footer containing links. When I increment the text size...
6
1653
by: Steven Simpson | last post by:
Hello! I could arrange some HTML elements so that they have a sensible order without stylesheets: <div id="sections"> <div id="content"> The bulk of the content that people actually want to read </div> <div id="navigation"> Some short site map </div> <div id="gumph"> Adverts and stuff... </div> </div>
1
1642
by: krzys | last post by:
here is the following situation : I have a dataset with two tables this.daCustomers.Fill(dsData1, "Customers"); this.daOrders.Fill(dsData1, "Orders"); as You see there are tables from Northwind :) these tables have a relation
3
6051
by: tomi | last post by:
Hi I have following problem. I have a datatable filled with some data. Each row holds its ID (column named "Row_ID") DataTable dtTable; I have a datagrid to which I assign this datatable. I also apply some styling to this datagrid so I only see some columns from this table
5
2267
by: Roderik | last post by:
Hi, My logo images are positioned some more to the right in IE6 than in FF1.5. I like them to be as shown in FF1.5. Does anyone have a clue, why they are positioned differently in IE? Problem description and example can be found at: http://www.kinderuitje.nl/problem.html Thx
12
4205
by: slartybartfast | last post by:
I'm new(ish) to css, comfortable using tables, but trying real hard to move away. Please see http://84.9.125.31/developer/css_test/test5.html NB This issue is with IE & Opera - I've tried IE 6&7 and both have the same result. It works fine in FF. Thanks to Petr Stanicek for the original example. As you can see the table is 800px wide in the middle column and it's vertical position is affected by the amount of text in the left or right...
1
2766
by: thomasv | last post by:
Hi, I want to convert the following XML (OpenOffice Calc file): <?xml version="1.0" encoding="UTF-8"?> <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
0
8676
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7734
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3051
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.