Gossamer Forum
Home : General : Databases and SQL :

Replace paragraph markers in Ntext field?

Quote Reply
Replace paragraph markers in Ntext field?
I have column in a large table that contains paragraphs of material for each record. The material was first entered in Access and later upsized to SQL 2000.

In SQL the column is a 'ntext' data type.

When I spit this back out into HTML of course the paragraph breaks are not preserved.

Any suggestions for some query language, or a procedure, that I could use to search this column for paragraph markers (or whatever the ASCII equivalent is) and replace them with a <P> tag?

...I know, I know, "Go take a damn SQL class!". Someday I'm going to be forced to.
Subject Author Views Date
Thread Replace paragraph markers in Ntext field? ArmyAirForces 5026 Jan 7, 2003, 9:47 AM
Thread Re: [ArmyAirForces] Replace paragraph markers in Ntext field?
dregs2 4919 Jan 7, 2003, 11:16 AM
Post Re: [dregs2] Replace paragraph markers in Ntext field?
ArmyAirForces 4811 Jan 8, 2003, 1:32 PM