Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Adding quotes to a textfile
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

115 Posts

Posted - 07/17/2008 :  07:53:06  Show Profile  Reply with Quote
Hi Guys,

I have a text file which looks like this


and I would like it to look like this

The file has about 2000 lines how would I go about inserting the quotes and the commas.

I use textpad to open the textfile and I am using sql server 2000.

Thanks in advance for you help.

Flowing Fount of Yak Knowledge

1274 Posts

Posted - 07/17/2008 :  08:27:22  Show Profile  Send sunsanvin a Yahoo! Message  Reply with Quote
use editplus.

Even you learn 1%, Learn it with 100% confidence.

Edited by - sunsanvin on 07/17/2008 08:27:48
Go to Top of Page

Posting Yak Master

115 Posts

Posted - 07/17/2008 :  09:42:09  Show Profile  Reply with Quote
Hi sunsanvin,

I have downloaded editplus and i am using the find in files option. Now inorder to search for multiple ids I tried "12345|45678|78569|78454" and it is not working. Do you have any ideas why it isn't working?
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000