Advertisement

05.08.2008 at 09:17AM PDT, ID: 23386644
[x]
Attachment Details

How can I upload .txt file with delimiters like '(', ')' into a table? SQL

Asked by marshaklana in Microsoft Development, MS SQL Server, SQL Server 2005

Please, help. How can I upload .txt file with delimiters like '(', ')' into a table?
Example:
DCRRART3=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SDG.fgbvc.com)(PORT=3321))(CONNECT_DATA=(SERVICE_NAME=DCEYWRT3.NC.HGNB.COM)))
So, string before '=' is the name of a column, string after is the data for that column.
Any idea how to get data into those columns?
DCEQART3 is  dbName
DESCRIPTION=
ADDRESS=
PROTOCOL=
HOST=
PORT=
CONNECT_DATA=
SERVICE_NAME=
Thank you in advance.Start Free Trial
[+][-]05.08.2008 at 10:21AM PDT, ID: 21526656

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Development, MS SQL Server, SQL Server 2005
Sign Up Now!
Solution Provided By: Rahu_ketu_patal
Participating Experts: 2
Solution Grade: B
 
 
[+][-]05.08.2008 at 10:37AM PDT, ID: 21526796

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.09.2008 at 07:52AM PDT, ID: 21533427

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628