February 1, 2010 at 1:21 pm
I am running into an issue that no matter how I format the Prepare SQL task, it puts a "_" in the tab name.
CREATE TABLE `Data Format`
Show up as Data_Format in Excel. This is for an automated process and the space cannot be there.
Also, it its replacing my "#" for column names with "."s
`Feature Image URL #1` LongText,
Shows up as
Feature Image URL .1 in Excel
Any idea how to format this properly?
February 1, 2010 at 1:41 pm
You are actually creating a tab and a named range. Since the named range cannot have spaces, any are converted to underscores.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
February 1, 2010 at 1:46 pm
Thanks for the tip! How do I fix this? I just need a tab named Data Format and the first row to be the column names I specify in the query.
February 2, 2010 at 3:56 pm
Bump.... any ideas on this one?
Here is a snippet of the SQL code that SSIS used to create the new sheet in the work book:
CREATE TABLE `Data Format` (
`Item ID` LongText,
`Action Flag` LongText,
`Sale End Date` LongText,
`Low Inventory alert` LongText,
`Feature Image URL #1` LongText,
)
GO
You can also see how its trying to name the column with the "#" sign but it gets replaced with a "." when I check "first row has column names".
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply