如何将3列数据库项放入单列 [英] how to put 3 columns database items into single columns

查看:46
本文介绍了如何将3列数据库项放入单列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在数据库中如下;



Sch_Date课程课程

2/25/2013 1 ARPA





i希望将以上所有三列放入单列中,如下所示;



详情

2/25 / 2013,1,ARPA





如何使用Ms Access数据库。



为什么我可以在ms访问数据库中写入查询。

解决方案

你做了类似这样的例子

插入urFirstTableName值(选择Sch_Date +'',''+ Session +'',''+来自urSecoundTableName的课程)



了解Ms访问连接通过以下链接。

http://hyderabadtechies.info/index.php?option=com_content&view=article&id=1913 [ ^ ]

http://msdn.microsoft.com/en-in/library/5ybdbtte%28v=vs.71%29。 aspx [ ^ ]


in database as follows;

Sch_Date Session Course
2/25/2013 1 ARPA


i want to put the above all three columns into single columns as follows;

Details
2/25/2013,1,ARPA


how can i do using Ms Access Database.

for that how can i write the query in ms access database.

解决方案

u have do something like this example

"insert into urFirstTableName values(select Sch_Date +'',''+ Session +'',''+  Course from urSecoundTableName)"


to understand Ms access connectivity go through following links.
http://hyderabadtechies.info/index.php?option=com_content&view=article&id=1913[^]
http://msdn.microsoft.com/en-in/library/5ybdbtte%28v=vs.71%29.aspx[^]


这篇关于如何将3列数据库项放入单列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆