﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / I would like to insert from the clipboard text with line breaks in a "varchar" column. / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Fri, 24 May 2013 09:12:53 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: I would like to insert from the clipboard text with line breaks in a "varchar" column.</title><link>http://www.sqlservercentral.com/Forums/Topic996570-391-1.aspx</link><description>[strike]no, whatever you paste is whatever you paste....the GRID, by design, cannot show multiple rows...(it's a grid), so for presentation purposes, it replaces CHAR(13) and CHAR(10) as spaces...but the underlying data is still whatever you paste...after editing, go to a new query, change to text mode(control T), and select the row with the value you pasted...it's got CrLf's in it if you pasted it. change back grid mode(control D) and you see the data with CrLf replaced with spaces.[/strike]cheese and rice, it only takes the first line of the pasted text!sorry i was all wrong! the CrLf behavior i stated is true if the data contains it, but not the pasteing part!</description><pubDate>Fri, 01 Oct 2010 09:01:00 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>RE: I would like to insert from the clipboard text with line breaks in a "varchar" column.</title><link>http://www.sqlservercentral.com/Forums/Topic996570-391-1.aspx</link><description>@LowellYes, and if I do so and there a linebreaks in, i have only the First line ;-)@stewartc-708166Then i'll try the Option to connect with MS-ACCES because that works.But its unbeliveble that i have to do so.</description><pubDate>Fri, 01 Oct 2010 08:32:15 GMT</pubDate><dc:creator>sql 25506</dc:creator></item><item><title>RE: I would like to insert from the clipboard text with line breaks in a "varchar" column.</title><link>http://www.sqlservercentral.com/Forums/Topic996570-391-1.aspx</link><description>the only way I know to do this is by using T-SQL,e.g.[code="sql"]UPDATE [i]TableName[/i]	SET [i] VarcharColumn[/i] = 'Some Text with line breaks in'WHERE [i]PrimaryKeyColumn[/i] = [i]SomeValue[/i][/code]</description><pubDate>Fri, 01 Oct 2010 08:19:51 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>RE: I would like to insert from the clipboard text with line breaks in a "varchar" column.</title><link>http://www.sqlservercentral.com/Forums/Topic996570-391-1.aspx</link><description>in the object explorer on the left, expand your database till you see the table.right click on that table , and selecte the "Edit Top 200 rows;you can always change the SQL to get the whole table, but the grid that is presented is editable, so you can select a cell and paste into it, just like the old Enterpise Manager.[img]http://www.stormrage.com/SQLStuff/Edit_SSMS.png[/img]</description><pubDate>Fri, 01 Oct 2010 08:09:52 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>I would like to insert from the clipboard text with line breaks in a "varchar" column.</title><link>http://www.sqlservercentral.com/Forums/Topic996570-391-1.aspx</link><description>Hi,I would like to insert from the clipboard text with line breaks in a "varchar" column.(eg. copy some lines , open "Enterprise Manager" select column and insert the Text from clipboard with CTRL + V )If I do, I only have the first line in the column.Then I thought I take the new "SQL Server Managemant Studio" and do the same (select column and insert the Text from clipboard with CTRL + V )Hmm .. only the first line there.I can not believe. Is ther  trick to do it?Thank you in advance for your help!Please dont tell me: "Use MS-ACCESS to connect to the DB and INSERT it the way I want (CTRL+V)" this is the F....... Way I do it ;-)</description><pubDate>Fri, 01 Oct 2010 06:08:37 GMT</pubDate><dc:creator>sql 25506</dc:creator></item></channel></rss>