Home
|
Contact Us
|
FAQ
|
Search & Site Map
|
Link to Us
Sign In
|
Join
|
Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL Server
MSDE
SQL Server CE
Services
Analysis (Data Mining)
Analysis (OLAP)
DTS
Integration Services
Notification Services
Reporting Services
Programming
CLR
Connectivity
SQL
XML
Other Technologies
Clustering
English Query
Full-Text Search
Replication
Service Broker
General
Data Warehousing
Performance
Security
Setup
SQL Server Tools
Other SQL Server Topics
Directory
User Groups
Related Topics
MS Access
Other DB Products
MS Server Products
.NET Development
VB Development
Java Development
More Topics ...
SQL Server Forum
/
DB Engine
/
SQL Server
/
July 2008
Tip:
Looking for answers? Try searching our database.
putting two fields into one
Thread view:
Tree View
List View (postings sorted by date)
Single Message View
Enable EMail Alerts
Start New Thread
Thread rating:
jojo123
- 21 Jul 2008 09:33 GMT
Hi
I want to transfer dat from one table to another and put two fields into one
during this transfer - can this be done in a query
table 1
house no
house name
table 2
house name (house no + house name from table one)
thanks
Reply to this Message
vinu
- 21 Jul 2008 09:39 GMT
Jojo
See the e.g bellow
insert into table2(column1)
select [house no]+' ' +[house name] from table2
basically you can use '+' to combine to column, if house no is numeric then,
use cast( [house no] as varchar)
vinu
> Hi
>
[quoted text clipped - 10 lines]
>
> thanks
Reply to this Message
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage
Start New Thread
Enable EMail Alerts
Rate this Thread
©2009 Advenet LLC
Privacy Policy
-
Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.