Viewing 15 posts - 16 through 30 (of 584 total)
TomThomson (11/5/2014)
I was careless, and ignored the implicit conversion of ((RAND() * 10) + 1) to int; since implicit conversion to int rounds towards 0 in SQL,...
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
November 5, 2014 at 3:45 pm
I worked for several years in a one person shop. I still put comments in the code, ESPECIALLY little utility snippets. If I can't tell what the code was supposed...
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
September 17, 2014 at 11:38 am
Thanks for the question Tom. It shows quite clearly why serious consideration should be given to avoid the combo declare/set syntax.
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
August 19, 2014 at 6:30 am
Excellent question. Loved the text explaining the things you weren't trying to trick us with. 😉
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
August 13, 2014 at 7:13 am
When I worked at Intel In the mid-90's, we were growing so fast that a universal system couldn't handle the needs of the local groups fast enough. So, we had...
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
August 13, 2014 at 7:03 am
Koen Verbeeck (8/12/2014)
Nice question, thanks.
Koen, are you doing something different with your hair? (He said, noticing something strange about Koen's icon.)
(Later realizing that he was mistaken, as he was thinking...
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
August 12, 2014 at 1:05 pm
Toreador (8/6/2014)
TomThomson (8/6/2014)if I want put many column names into for example a select list using an SP to generate a complete list (which I can then prune) is faster...
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
August 6, 2014 at 6:22 am
Although many found it easy, quite a few have missed it. I'm happy with the two points.
Thanks for the question Hugo.
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
August 5, 2014 at 7:13 am
SQLRNNR (8/3/2014)
george sibbald (8/3/2014)
me too, but who's complaining? 🙂Me!! Take my points back. I protest!! :-D:hehe:;-)
No need to protest. I'll take the extra three points you don't want....
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
August 4, 2014 at 7:56 am
Thanks for question! Easy but still had to think about it. Please post another QOTD.
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
August 1, 2014 at 7:34 am
Why would I use the method in the question when, as the answer showed, I can use:
SELECT *
FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
July 31, 2014 at 7:42 am
Hugo Kornelis (7/30/2014)
Brian.Klinect (7/30/2014)
If you're allowed to re-declare @j-2 inside the while loop, why are you allowed to select from @j-2 outside of the while loop?
See my post above (which...
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
July 30, 2014 at 6:37 am
Good question for me as I had to do some investigate to confirm the answer. Thanks free mascot!
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
July 29, 2014 at 7:19 am
I agree with those that favor a date table. This has the advantage of removing most of the date manipulation code from SP's -> easier to maintain.
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
July 28, 2014 at 7:53 am
Nice, and not so easy for me that I didn't have to think, but still easy enough for a Monday. And brought up an interesting point or two. Thanks Steve.
[font="Verdana"]Please don't go. The drones need you. They look up to you.[/font]
Connect to me on LinkedIn
July 21, 2014 at 7:39 am
Viewing 15 posts - 16 through 30 (of 584 total)