Viewing 15 posts - 13,786 through 13,800 (of 15,381 total)
Definitely not the most straight forward approach to this. does something like this work for you?
SELECT max(tblPODetail.PONum), tblPODetail.PartNum, tblPODetail.UnitCost
FROM [SharePointProgress].[dbo].tblPODetail
group by tblPODetail.PartNum, tblPODetail.UnitCost
October 10, 2011 at 8:10 am
sqlzealot-81 (10/10/2011)
SELECT
CASE IsNull(COL1,'') WHEN '' THEN 'Is Null'
WHEN '0' THEN 'Is Zero'
WHEN '1' THEN 'Is One'
WHEN...
October 10, 2011 at 7:34 am
Let us know if figure out how to do this. Other people will find this via google or such in the future and would be nice to let them know...
October 10, 2011 at 7:27 am
Jeff Moden (10/7/2011) It's hard to look bad when most 3rd parties are involved.
VERY true there!!!
October 10, 2011 at 7:23 am
Of course there is nothing automatic about Visio. It isn't like you can put in a query and it will generate a nice UI. It can be very challenging sometimes...
October 10, 2011 at 7:07 am
This should be totally doable in tsql. A combination of Jeff Moden's splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/%5B/url%5D and maybe a for xml should just about get it there.
I don't have much time to...
October 7, 2011 at 11:52 am
barblm (10/7/2011)
October 7, 2011 at 11:35 am
I have found that visio is a decent tool for this. You just have to break down the query to logical steps instead of all at once like sql does....
October 7, 2011 at 10:12 am
robert.daniel (10/6/2011)
October 7, 2011 at 10:06 am
Jason-299789 (10/7/2011)
The only difference is that instead of using a comma seperated list you use a # delimiter.
One minor tweak could...
October 7, 2011 at 9:52 am
Lynn Pettis (10/7/2011)
Sean Lange (10/7/2011)
paul.t.silvey (10/6/2011)
October 7, 2011 at 9:46 am
paul.t.silvey (10/6/2011)
October 7, 2011 at 8:20 am
The usage would be pretty much the same as the function you posted. It receives a delimited string and the delimiter and returns a table. The big difference is performance....
October 7, 2011 at 7:59 am
You REALLY should look at Jeff Moden's article and method for this type of thing. It is set based and does not use looping at all which means it is...
October 7, 2011 at 7:48 am
Oddly enough I happen to have an example of exactly what you are looking for. I think it was Gus who suggested that I should write up an article on...
October 7, 2011 at 7:41 am
Viewing 15 posts - 13,786 through 13,800 (of 15,381 total)