Re: How do you insert a carriage return in Management Studio?
- From: Nick Gilbert <nickg@xxxxxxxxxxxxxxxx>
- Date: Tue, 11 Jul 2006 10:39:49 +0100
Nick Gilbert (nickg@xxxxxxxxxxxxxxxx) writes:This is really winding me up. How on earth do you type a carriage return into a field from the "open table" view in SQL Server Management Studio? I think I've tried everything - including copying and pasting something with a carriage return in it. It seems to strip all text pasted in after the first carriage return. The field is NTEXT, but that probably doesn't matter.
The answer is that you start to learn to use INSERT statements to enter
your data. Open Table does not permit you to insert line break.
Obviously I know how to use INSERT and UPDATE statements, but sometimes you just quickly want to change a value or two and having to write an insert or update query just to do something this simple is a hassle. You could do this easily in SQL 2000 so I don't see why they've opted to remove this possibility in SQL 2005. Why not just let CTRL-Enter insert a CR like you can in most other databases and programs? GRRR.
By the way, SQL 2005 offers a new data type nvarchar(MAX) which just
like ntext permits unlimited amount of text, but that does not have
all the quirks and limitations of ntext. Strongly recommended.
Thanks for pointing this out... Sounds very useful!
Nick...
.
- Follow-Ups:
- Re: How do you insert a carriage return in Management Studio?
- From: Wei Lu [MSFT]
- Re: How do you insert a carriage return in Management Studio?
- Prev by Date: Re: licensing
- Next by Date: Re: Database Documentation
- Previous by thread: licensing
- Next by thread: Re: How do you insert a carriage return in Management Studio?
- Index(es):
Relevant Pages
|
Loading