Viewing 15 posts - 391 through 405 (of 642 total)
That is an excellent question. When I do the following for the conversion data flow, the import works!
ISNULL([FiscalYearNumber])? "2012" : [FiscalYearNumber]
Thank you.
December 4, 2011 at 10:10 pm
when I look at the input properties for fiscalyearnumber column it shows expected datatype DT-I2 which is what I am supposed to use when SQL table expects smallint.
December 4, 2011 at 3:36 pm
OK, thank you very much for replying!!!
so, I've changed my approach. I've manually added the column in source file and on destination sql table as smallint.
My flow...
December 4, 2011 at 3:34 pm
I found the syntax that worked: ISNULL(FiscalYearNumber) ? "FY12" : FiscalYearNumber
December 4, 2011 at 10:09 am
In my case I added a fiscalyearcolumn to the destination table, for which there is no corrolary in the source spreadsheet, but the value will always be '2012' for each...
December 3, 2011 at 11:45 pm
Discovered source of problem was that once I created copies of original columns (in Data Converstion object) with new datatypes I needed to return to Excel DataFlow object and remap...
December 2, 2011 at 11:46 am
I am using AliasRules table. I need clarity regarding this warning:
"Warning! The maximum key length is 900 bytes. The index 'PK_AliasRules' has maximum length of 1025 bytes. For some combination...
November 29, 2011 at 2:04 pm
The answer to my question is that Michael's sproc creates a table in the db. It is called AliasRules. All you have to do is insert into that...
November 14, 2011 at 7:01 am
Hi there. Sorry, here it is
http://www.sqlservercentral.com/scripts/constraints/71340/ .
November 10, 2011 at 6:12 am
Thank Lowell! Thanks for the demo on how to use rownumber with rank as more sophisticated alternative to my expression. Appreciate it.
Michael Sondergaards sproc is really smart. It identifies multicolumn...
November 9, 2011 at 9:54 pm
Thanks Jack Corbett, I'll look at this row number solution. Appreciate it.
November 9, 2011 at 9:50 pm
Hi Jeff. Yep, his sproc identifies duplicate keys, not duplicate names. You can look at it as I've provided the link.
November 9, 2011 at 9:47 pm
As far as having identified the duplicates, I think Michael Sondergaards sproc works really well for that and I have examined the results. Works good.
But, I agree with the reservations....
November 9, 2011 at 7:16 am
I think this will work
where RC.Constraint_Name LIKE '%[0-9]%'
November 8, 2011 at 5:25 pm
Viewing 15 posts - 391 through 405 (of 642 total)