﻿<?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  / Non-printable characters in SQL Scripts out of SSMS? / 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>Thu, 23 May 2013 03:58:57 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Non-printable characters in SQL Scripts out of SSMS?</title><link>http://www.sqlservercentral.com/Forums/Topic782888-391-1.aspx</link><description>Ah, you know what it might be? One guy in my office (and he's the only one for some reason), has a lot problems with files getting saved with the wrong encoding. Happens to him all the time (again, he's the only one), but when he saves a file with some messed up code page and then runs it against the server, we get odd, really odd, characters in the code running on the machine. Usually it results in compile time errors when he tries to run the code, but ocassionally stuff slips through.</description><pubDate>Fri, 04 Sep 2009 09:36:23 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item><item><title>RE: Non-printable characters in SQL Scripts out of SSMS?</title><link>http://www.sqlservercentral.com/Forums/Topic782888-391-1.aspx</link><description>The procedure was originally developed by hand in SSMS (New Stored Procedure). I don't think the developer typed in a hex 06 while he was typing the code...The developer "corrected" the function so now the character is not there. We're going to restore the db and look at information_schema.routines to see if it shows up in the text. That will tell us whether its in the actual definition of the procedure or if its an artifact of the scripting process...More to follow.</description><pubDate>Fri, 04 Sep 2009 09:29:03 GMT</pubDate><dc:creator>rschaeferhig</dc:creator></item><item><title>RE: Non-printable characters in SQL Scripts out of SSMS?</title><link>http://www.sqlservercentral.com/Forums/Topic782888-391-1.aspx</link><description>Hmmm... No. I haven't seen that one. Is it possible that there's a difference in the server or database collation? That might lead to something like this.</description><pubDate>Fri, 04 Sep 2009 09:05:06 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item><item><title>RE: Non-printable characters in SQL Scripts out of SSMS?</title><link>http://www.sqlservercentral.com/Forums/Topic782888-391-1.aspx</link><description>I would guess they were in the original script that created it.  You could interogate syscomments and see if it is in the system table (ok view) and I suspect it is.  If it is then I would wager heavily on it being in the original script.CEWII</description><pubDate>Fri, 04 Sep 2009 07:42:00 GMT</pubDate><dc:creator>Elliott Whitlow</dc:creator></item><item><title>Non-printable characters in SQL Scripts out of SSMS?</title><link>http://www.sqlservercentral.com/Forums/Topic782888-391-1.aspx</link><description>We're seeing wierd things in SSMS using the "Script as Create" function. For example using this capability on a Stored Procedure resulted in:[code="sql"]-- Calculate net revenueACK SET @NetResult=@FiscalYear-@PriorFiscalYear[/code] Where "ACK" is actually the ASCII x06 character. Any idea where these are coming from?:w00t:</description><pubDate>Fri, 04 Sep 2009 07:30:35 GMT</pubDate><dc:creator>rschaeferhig</dc:creator></item></channel></rss>