Viewing 15 posts - 4,906 through 4,920 (of 14,953 total)
Stefan Krzywicki (2/18/2011)
GSquared (2/18/2011)
Brandie Tarvin (2/18/2011)
Stefan Krzywicki (2/18/2011)
I wouldn't have any problems with his poor English skills if he wasn't being such a jerk about other people's.
I agree. In fact,...
February 18, 2011 at 12:34 pm
You're welcome.
February 18, 2011 at 11:25 am
Brandie Tarvin (2/18/2011)
Stefan Krzywicki (2/18/2011)
I wouldn't have any problems with his poor English skills if he wasn't being such a jerk about other people's.
I agree. In fact, I was mentally...
February 18, 2011 at 11:23 am
Gromey (2/18/2011)
February 18, 2011 at 9:04 am
Is it a named column in the query? If so, try grouping by it in a proof of concept query.
February 18, 2011 at 9:00 am
You can use the ranking functions and a CTE for this in SQL 2005 or later.
Will look like:
;with Ranked as
(select Row_Number() over (partition by Ev_Cat order by Ev_Date desc)...
February 18, 2011 at 8:57 am
Ian Scarlett (2/18/2011)
Gianluca Sartori (2/18/2011)
I apologize for provoking another forgettable page in SSC history.
Don't appologize Gianluca. That sort of behaviour needs to be brought to people's attention.
I just wish I'd...
February 18, 2011 at 7:30 am
David Burrows (2/18/2011)
string strsql = "";strsql += " Select '' AS [CustomerId],' ---Select Customer --- ' AS [CompanyName] ";
strsql += " Union Select CustomerId, CompanyName ";
strsql += "...
February 18, 2011 at 7:19 am
Jeff Moden (2/17/2011)
danielagger98 (2/17/2011)
But if the management wants...
February 18, 2011 at 7:07 am
LutzM (2/17/2011)
SELECT
x.i.value('(@parentStructId)[1]','int') AS ParentStructID,
x.i.value('(@family)[1]','int') AS Family,
x.i.value('(@subFamily)[1]','int') AS SubFamily
FROM @xmlFile.nodes('/FamilyAndSubFamily/myStruct') as x(i);
It performs better than the x.i.query('.').value approach. (see execution plan and statistics on a larger data...
February 18, 2011 at 6:57 am
Jeff Moden (2/17/2011)
Gromey (2/17/2011)
However, I still believe that any query you can do with a cursor, you can also do with a loop.
With only very rare exceptions, I believe that...
February 18, 2011 at 6:54 am
If it's XML data, you should store it as typed XML, with defined XML schemas. That'll help with storage size and compressibility.
February 18, 2011 at 6:49 am
Do you know how to query a table and join it to another table?
February 17, 2011 at 2:30 pm
You're pretty much going to be stuck using a string data type for these, and then doing transformations/redirects on them based on the logic your target database needs to comply...
February 17, 2011 at 2:16 pm
Viewing 15 posts - 4,906 through 4,920 (of 14,953 total)