473,834 Members | 1,822 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Import Specs

44 New Member
Hi,

I have posted a question in sql server forum but have not received any response as yet. Please help to create import specs for sql server. This feature is available in ms access where we can set column width etc. I do not know how and where to create import specs for sql server 2000 (home edition) / enterprise manager to import text files etc.

Thanks.
Oct 29 '06 #1
3 4549
NeoPa
32,584 Recognized Expert Moderator MVP
You can get data from SQL Server in two straightforward ways :-
1. Export your data into an intermidiary format (Text; CSV; etc), then import the resultant file into Access.
2. Create a SQL Server ODBC link to the SQL Server and link normally to the table(s) you want.
Oct 29 '06 #2
Zeeshan7
44 New Member
Hi, I am talking about import/export specifications where we can set field name, data type and width etc.

Is this option available in sql server/ enterprise manager where we can create import/export specifications? Thanks
Oct 29 '06 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hi,

I have posted a question in sql server forum but have not received any response as yet. Please help to create import specs for sql server. This feature is available in ms access where we can set column width etc. I do not know how and where to create import specs for sql server 2000 (home edition) / enterprise manager to import text files etc.

Thanks.
You can do an export from Access instead using VBA code

Create an ODBC connection to the sql server database

You can then run a pass thru sql query to the sql server database

The first to create a table based on field names and widths in access using vba code to build the sql statement and then doing an insert statement to populate the new table.

I'm afraid I don't know what import facilities are available in sql server 2000 but I would guess that they don't have the same type of wizards available as the access import specification wizard.
Oct 29 '06 #4

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

Similar topics

2
3677
by: Alok | last post by:
Hi, I recently upsized my access database to an ADP project with SQL backend. However when I did it the import/export specs were not ported to the new database. Also in the ADP files I am unable to create new import/export specs. The option is greyed out. I need to use the specs with the TransferText function. How can I get around this issue? Alok
1
6707
by: Dan | last post by:
Could someone please help me with auto importing a series of data files into an Access table. I tried to follow code given below in a previous messagebut i'm getting error messages. Here's my database stats: Path: C:\Database (contains the database and all the text files to be imported) Text files to import: (SampleData4.txt and SampleData3.txt as testing examples)
1
2676
by: Methven | last post by:
File - Get External Data - Import - Text Type - Advanced - Specs PROBLEM Can anyone assist me with a problem ? When attempting to specify an import specification using ; File - Get External Data - Import - Text Type - Advanced - Specs Is it possible to specify a Spec layout, save it and then - at a later point - amend the Spec ?
3
8777
by: Trev | last post by:
Is there a way to create/manipulate import specs in VBA?
1
3190
by: PeteCresswell | last post by:
I'm just starting in 2003, hoping to find a more direct route to editing/listing Import Specifications than in 2000 - where you have to initiatate an import, choose "Advanced", and then load a spec. Or is it still the same? If same, anybody have an idea why? Seems like a fairly glaring omission from the UI....
3
3723
by: deko | last post by:
I've been trying to use the Access Import Wizard to expedite importing data into my mdb. The nice thing about the wizard is that I can import from different file formats - txt, xls, even Outlook - and dump everything into a table. The problem is once I have the data imported into a new table, I can't do much with it. If I try to run an Append query and insert data from the new table into an existing table, the query fails - "Error...
1
2115
by: praz | last post by:
Hi, I am trying to import a delimited text file using a macro. The problem is i am not able to generate a Primary key (Let access add primary key). I have tried saving the import specs using the import wizard and specifying the same in the macro, but when I run the macro, the text file is imported without the ID field (Primary key field). Please any help appreciated.
4
8317
by: Regnab | last post by:
I'm automating the import of all text files into Access from a source folder. I was getting the "Field 'F1' doesn't exist in destination table" error, so I checked it out on the net and it said to create a import specification. So I did this (InductionImport), and included it in my code as below: DoCmd.TransferText acImportDelim, InductionImport, "ImportedInductionLots", CurrentPath & strfile, 0 I created the import specs as per...
0
1079
by: Zeeshan7 | last post by:
We can use import Specs in ms access to import text files etc. Can we create import specs in sql server 2000 (home edition)? Please help. Thanks
2
3965
by: pendell | last post by:
I am working with a client running 2003 Access. Some time ago I built them an import spec for use with the Import Wizard. Several months later, I have been called back and asked to solve a problem ... they tried to customize the spec and now the Import Wizard always fails on the last step (when one presses the 'finish' button), returning the dialogue box message "Invalid Use of Null". Running some test, I have determined that the...
0
9800
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9651
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10802
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10557
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9340
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6961
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5802
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3987
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.