I've dug into window functions, which, I agree, are way cool. However, I can't seem to find a specification that doesn't "jump over" the active status when setting the date ranges for the inactive status. I've tried lag and lead, first_value and last_value. Instead of getting:
OrganizationID...
I have a table tracking, say, an organization's participation in a particular program. The relevant columns in this table might look something like:
OrganizationID Year Status
1 1999 Inactive
1 2000 Inactive
1 2001 Active
1 2002 Active
1...
XML Newbie question. The XML file being created is UTF-8 encoded. Does it make any difference if the data is stored in SQL Server as varchar or nvarchar?
Thanks for the quick response. The kicker here is the requirement that the number be rounded up to the nearest EVEN tenth.
So 24.48 should round up to 24.6 and ceiling(24.48 * 10) / 10 yields 24.5.
alex
I am a relative newbie with respect to SSIS, so I don't know if this is the proper forum for my question.
My file records have over a hundred fields, all different lengths.
The documentation gives the start and end columns for each field.
Record length is 972 characters. There are probably...
I'm having memory issues when trying to do some "divide and conquer" lookups.
I have a reference table - call it Person. Each record contains a unique ID, LastName, FirstName, BirthDate, Gender.
I have a second table - call it Respondent. Each record also has an ID, LastName, FirstName...
This product was installed on a stand-alone laptop for me, to be used as a BI learning and experimentation tool. Most of the services are set to log on as "Local System". I have no admin training or experience. So, I would just like to know if I can leave it as is, or, if not, what those of you...
Thank you for your quick response.
The code you suggested resulted in the error:
XQuery [#XmlSourceTable.XmlData.value()]: 'value()' requires a singleton (or empty sequence), found operand of type 'xdt:untypedAtomic *'
I got the same message after replacing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.