Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in .NET only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
.NET
Import SQL Server data to a DAT file
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
gauthambr83
New Member
Join Date:
Feb 2008
Posts:
8
#1
Import SQL Server data to a DAT file
Feb 13 '08, 03:32 AM
Hi all,
I want to know how to import SQL Server(2005) data into a DAT file. Can anyone help me on this.
Shashi Sadasivan
Recognized Expert
Top Contributor
Join Date:
Aug 2007
Posts:
1435
#2
Feb 13 '08, 04:08 AM
Originally posted by
gauthambr83
Hi all,
I want to know how to import SQL Server(2005) data into a DAT file. Can anyone help me on this.
Do you want to import a dat file into SQL server or export data from a sql database to a .dat file?
a .Dat file is generally a csv file, and that can be produced using Sql Server (I dont think it is possible to do it with Sql Server Express)
in the import options choose a flat file for import/export depending upon your need
Comment
Post
Cancel
gauthambr83
New Member
Join Date:
Feb 2008
Posts:
8
#3
Feb 13 '08, 05:14 AM
Sorry! I want to export sql server data into a DAT file.
Comment
Post
Cancel
Shashi Sadasivan
Recognized Expert
Top Contributor
Join Date:
Aug 2007
Posts:
1435
#4
Feb 13 '08, 05:32 AM
In SQl Server management studio, right click the database
and choose Tasks -> Export data
choose the source data and select the database from which you want to export any tables
in the next windows which is the destination
instead of SQl Native client choose flat file Destination
put in a filename .dat
this file will be in the format of a csv file
follow the steps and you should be able to export it
Comment
Post
Cancel
gauthambr83
New Member
Join Date:
Feb 2008
Posts:
8
#5
Feb 14 '08, 09:24 AM
Originally posted by
Shashi Sadasivan
In SQl Server management studio, right click the database
and choose Tasks -> Export data
choose the source data and select the database from which you want to export any tables
in the next windows which is the destination
instead of SQl Native client choose flat file Destination
put in a filename .dat
this file will be in the format of a csv file
follow the steps and you should be able to export it
Hi Shashi,
Job done, thanks for your help.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment