Viewing 15 posts - 496 through 510 (of 683 total)
This might be useful... ![]()
http://www.sqlteam.com/item.asp?ItemID=2955
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 25, 2006 at 11:09 am
Post the update in the first post...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=274064
...please don't create a new thread in this situation.
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 25, 2006 at 8:32 am
Duplicate post...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=275152
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 25, 2006 at 8:30 am
Same question here...
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=65167
...and here...
No clarification of the problem on any of them yet...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 25, 2006 at 8:14 am
Something like this?
--data
declare @door table (door_id int, door_status bit)
insert @door
select 1, 0
union all select 2, 0
union all select 3, 1
union all select 4, 1
union all...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 25, 2006 at 8:05 am
Hi Phil (and Vladan),
Vladan's solution looks good to me (I actually did it the same way and then saw that he had beat me to it!).
I'm not sure the result...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 25, 2006 at 4:04 am
Hi Minh Vu (and all),
It looks like your example isn't a sufficient representation of your problem. Can you 'enhance' it for us please?
Here's one trick that might be useful (it's...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 25, 2006 at 3:57 am
Hi all,
For my own amusement, I took a look at some end points for a few of the methods...
--data
declare @t table (d datetime)
insert @t
select '20060424...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 24, 2006 at 11:04 am
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=65115
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 24, 2006 at 10:08 am
Yes, it's possible. e.g.
select
id,
case when id between 1 and 7 then
case when id = 1 then 'one' when id = 2 then 'two'...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 24, 2006 at 9:30 am
Objective view you say?...
create view objective as select 'poor joke' as 'objective view'
![]()
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 20, 2006 at 9:12 am
You have to list all the columns. You can just type them out, but I'm guessing it's that you want to avoid. ![]()
There...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 20, 2006 at 4:15 am
Hi Jawad,
Here's one way. Note that it does not cope with ties. Let us know if it needs to. ![]()
--data
declare...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 20, 2006 at 3:28 am
Was there something wrong with what I posted? Here, I'll make it easier for you... ![]()
I agree with Noeld that it's better to put...
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 20, 2006 at 2:52 am
Pieter - As I say, I can't get my head around your situation without some sample data. I guess if it's working for you, then don't worry. ![]()
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
April 19, 2006 at 9:51 am
Viewing 15 posts - 496 through 510 (of 683 total)