TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dario Barbon
NA
1
624
Extracting data from SQL 2005 to Excel: numbers issue
Feb 24 2016 9:48 AM
Hi all!
In my production VB6 application, I use the following query to extract data to Excel.
INSERT
INTO
OPENROWSET
(
'Microsoft.Jet.OLEDB.4.0'
,
'Excel 8.0;Database= E:\myfile.xls;'
,
'SELECT * FROM [Sheet1$]'
)
SELECT
*
FROM
myTable
This query works fine but in my Excel file all numbers are presented as text values despite all columns type are correctly defined
Why? Is it a driver issue?
The server is SQL 2005 SP4 Workgroup Edition.
Thanks.
Reply
Answers (
1
)
Convert group_concat of MYSQL to SQL query
Create Web API For Login Form in c# asp.net