Viewing 15 posts - 211 through 225 (of 258 total)
Thanks, I put in the double quotes and it worked fine.
January 18, 2008 at 9:11 am
When I try to use the following as an expression I get the this error:
right('0000000000' + ConsultantID, 10)
TITLE: Microsoft Visual Studio
------------------------------
Error at Data Flow Task [Pad Zeros to ConsultantID...
January 18, 2008 at 7:25 am
Then again the value coming through will have different numbers eg. 123 needs to be 0000123 or 4567 needs to be 0004567.
January 17, 2008 at 11:26 am
Seems to be working now. Maybe I was not patient enough.
Thanks
January 3, 2008 at 1:44 pm
I have posted several times and it says that it did it but nothing appears in the thread.:cool:
January 3, 2008 at 1:00 pm
Not quite what I am after. I need the field name and field value for each:
[AdditionalFields]
[DateTimeField FieldName="ActivatedDate"]
[FieldValue IsNull="false" DateTimeValue="1999-03-25T00:00:00-05:00" /]
[/DateTimeField]
[DateTimeField FieldName="ConsultantPromDt"]
[FieldValue IsNull="false" DateTimeValue="1999-03-25T00:00:00-05:00" /]
[/DateTimeField]
[DateTimeField FieldName="ContractReceive"]
[FieldValue IsNull="false" DateTimeValue="2000-06-23T09:56:42-05:00" /]
[/DateTimeField]
[ DateTimeField FieldName="DeactivateDt"]
[FieldValue...
January 3, 2008 at 12:05 pm
Not quite:
I need a single column for each field name containing its' appropriate fieldvalue:
[AdditionalFields]
[DateTimeField FieldName="ActivatedDate"]
[FieldValue IsNull="false" DateTimeValue="1999-03-25T00:00:00-05:00" /]
[/DateTimeField]
[DateTimeField FieldName="ConsultantPromDt"]
[FieldValue IsNull="false" DateTimeValue="1999-03-25T00:00:00-05:00" /]
[/DateTimeField]
[DateTimeField FieldName="ContractReceive"]
[FieldValue IsNull="false" DateTimeValue="2000-06-23T09:56:42-05:00" /]
[/DateTimeField]
[ DateTimeField FieldName="DeactivateDt"]
[FieldValue IsNull="false" DateTimeValue="2002-01-01T00:00:00-06:00"...
January 3, 2008 at 11:37 am
Not quite what I am after. That give me two fields. FieldName and FieldValue what I need
is let say the fieldname is ActivatedDate and the FieldValue is "1999-03-25T00:00:00-05:00"
I need one...
January 3, 2008 at 11:34 am
But not quite:
[AdditionalFields]
[DateTimeField FieldName="ActivatedDate"]
[FieldValue IsNull="false" DateTimeValue="1999-03-25T00:00:00-05:00" /]
[/DateTimeField]
[DateTimeField FieldName="ConsultantPromDt"]
[FieldValue IsNull="false" DateTimeValue="1999-03-25T00:00:00-05:00"...
January 3, 2008 at 10:54 am
Thanks. I knew I was close but you help push over the edge. I think it's coming together. 😛
January 3, 2008 at 10:15 am
Last question:
How would you address this?
[IsWithinCityLimits FieldName="IsWithinCityLimits"]
[FieldValue>true[/FieldValue]
[/IsWithinCityLimits]
All I need from this is the FieldValue.
January 3, 2008 at 10:05 am
OK I don't quite have it:
r.value('(n1:BusinessEntityAddresses/n1:BusinessEntityAddress/n1:State/n1:StateCode)[1]','varchar(30)') as StateCode,
[State StateCode="IN"]
[StateGuid IsNull="false DecimalValue="23567725519222135717227012983" /]
[/State]
This is returning nulls.
January 3, 2008 at 9:56 am
Viewing 15 posts - 211 through 225 (of 258 total)