Viewing 15 posts - 1,786 through 1,800 (of 7,636 total)
I think that what you really want is a recursive View, like this:
CREATE VIEW OrgLevels AS
WITH cteRecur AS (
SELECT r.OrgUnitID, o.Parent, 1 as Lvl
FROM RSUNew r
LEFT JOIN ISC_OrgUnits o ON...
August 12, 2009 at 1:35 pm
ramsp (8/12/2009)
...
August 12, 2009 at 1:15 pm
Actually, sending to DBMail should be OK within a trigger. Unlike SQL Mail. DBMail is mediated through Service Broker under the hood, so those Email problems like network delays,...
August 12, 2009 at 1:08 pm
..+ hunter +.. (8/12/2009)
Thanks for a quick response, Actually my main goal here is I have two database in where it can be place in the same server (what...
August 12, 2009 at 12:59 pm
Try executing this command yourself manually from within SQL Server and see what you get:
EXEC master..xp_cmdshell 'getfiles.bat'
August 12, 2009 at 12:51 pm
rudy komacsar (8/12/2009)
How about one more solution:use master
go
select createdate as 'Sql Server Installation Date'
from sys.syslogins
where sid = 0x010100000000000512000000 -- language neutral for NT AUTHORITY\SYSTEM
go
Very cool, Rudy!
August 12, 2009 at 10:49 am
jack ha (8/12/2009)
so is there any way to achieve this faster?...
does it help if i index the BSD && BED ?!
Yes, definitely.
my real example includes more : a booking...
August 12, 2009 at 9:53 am
Nice article. I have a couple of notes though:
1) What you are describing is actually a simplified informal version of EBNF, not BNF (though the standards groups do...
August 12, 2009 at 9:31 am
Jeff Moden (8/11/2009)
August 11, 2009 at 6:59 pm
WayneS (8/11/2009)
...BTW, I think Jeff calls it the "pseudo-cursor". Isn't it Phil that calls it the "quirky update"?
Nah, that's me. Jeff hates the term "pseudo-cursor" and much prefer's Phil's...
August 11, 2009 at 2:10 pm
GilaMonster (8/11/2009)
Gianluca Sartori (8/11/2009)
Barry is leading a new wave...A boring one.... 😉
🙁 Wow, do I get that a lot. I have found that people find me much less...
August 11, 2009 at 12:50 pm
Peso (8/11/2009)
Congratulations Barry!It's a good thing they accepted your late submission 🙂
True, and thanks again to you Peter for pointing out the bugs in my original solution so that I...
August 11, 2009 at 8:44 am
Paul White (8/10/2009)
Jeff Moden (8/10/2009)
August 11, 2009 at 7:24 am
Paul White (8/10/2009)
RBarryYoung (8/10/2009)
To clarify: HashBytes w/ SHA1 is nigh-unbreakable.
Hey Barry,
On the other hand, it is relatively slow, only works on strings, and returns varbinary(8000).
If the task is to detect...
August 11, 2009 at 7:20 am
:w00t: Woo-hoo! Finally, my name in lights!
Thanks, Phil and Joe. You too Jeff. 🙂
Fast though it was, my submission was far from elegant or simple....
August 11, 2009 at 7:12 am
Viewing 15 posts - 1,786 through 1,800 (of 7,636 total)