473,406 Members | 2,619 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,406 software developers and data experts.

export a table from db2 without column headers

1
I created a table in db2 ..and i want to send that table to excel 2013 version..i added power query plugin..everything goes nice..but now i want send my table without column headers because i created already column names in excel..this data from db2 should be send to the existed column names in excel.
Apr 21 '17 #1
1 4117
AngocA
1
You can use the export command. From the command line, it could be:

db2 "export to myfile.csv of del select * from mytable"

Instead, i9f you want to redirect the output (only columns) and then process it, you can use the x modifier in the db2clp:

db2 -x "select * from mytable"
Jul 12 '17 #2

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

Similar topics

0
by: Gooseman | last post by:
Is it possible to add column data in table A and have (dynamically linked) table B column headers?
5
by: ccjunk | last post by:
This may be a simple one but I have been working on it without joy for a couple of days now. Reading books and searching these groups hasn't helped yet either. I am trying to create a table...
1
by: Raph | last post by:
hi, i would like export data to a DEL file, but without string characters delimiters ! Do you have some solutions or examples ? thanks Raph
2
by: David Veeneman | last post by:
How can I set a bound DataGridView control to use a dataset table's column captions, instead of column names? I'm working with a DataGridView control, which I have bound to a table in a dataset....
4
by: Hans Merkl | last post by:
Hi, Is there a way to show the column headers of a GridView control even if there is no data? The only thing I see is the EmptyDataTemplate but I would also like to display the column headers. ...
1
by: ElenaR | last post by:
I need to figure out how to name my column headers in a DataGrid. In VB6, I could write DataGrid1.Columns(0).Caption = "ID". What is the format for VB.NET? Thanks in Advance!
0
by: nkparimi | last post by:
Hi, Here's what I'm trying: given an html table, to freeze the column headers and/or left column in IE. I understand that this is possible thru style sheets in IE, as suggested in the following:...
0
by: Kelii | last post by:
Yeah, I get it; I do something similar each week at work. This is what I've done. 1. Create a simple query that shows all of your fields in your access table, name that query something like:...
2
by: anthonysd | last post by:
I have this data: Company Service Planned Authorized Date XYZ 1 100.00 50.00 FY12 XYZ 1 100.00 25.00 FY11 XYZ 2 20.00 20.00 FY12 XYZ 3 100.00 25.00 FY11...
3
by: Murdockj | last post by:
I have been looking for a while to export a crosstab query from Access to an existing Excel spreadsheet. The data in the query is very dynamic as is the column count. I did find code on the net...
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: 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?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.