Viewing 15 posts - 3,181 through 3,195 (of 5,394 total)
Is anyone willing to review a short article of mine?
It's about running job synchronously.
May 25, 2011 at 3:27 pm
No way, the Summit is too far and too expensive for me.
Especially now that I'm moving into freelance consulting.
May 25, 2011 at 3:25 pm
Jeff Moden (5/25/2011)
Gianluca Sartori (5/25/2011)
MaybeProbably I'm short-sighted and I don't understand exactly what you mean.Can you give us a small example?
Yes, I believe I can. And I...
May 25, 2011 at 6:51 am
I see. Thank you for the example Chris. I think I got it now.
May 25, 2011 at 6:48 am
I'm not sure that order matters. Personally, I hate RIGHT joins, I find them harder to read: they don't fit well in my mindset.
I tend to write queries starting from...
May 25, 2011 at 1:13 am
Thanks for the suggestion, Jason:
CREATE TABLE LOG_HOSTS (
ip_address varchar(48),
logon_count int,
last_logon datetime
)
GO
CREATE TRIGGER [TR_LOG_HOSTS]
ON ALL SERVER
FOR LOGON
AS
BEGIN
...
May 24, 2011 at 10:52 am
Rob Schripsema (5/24/2011)
Using the tally table is blazing fast and elegant, but it may be overkill for what you need.
Indeed. Nice one, Rob.
May 24, 2011 at 10:43 am
Almost forgot: you can only track the host name, not the IP Address.
I guess you can perform the translation later from the app side if you need it.
May 24, 2011 at 10:41 am
I would suggest a logon trigger and then log hostnames to a table:
CREATE TABLE LOG_HOSTS (
hostname nvarchar(128),
logon_count int,
last_logon...
May 24, 2011 at 10:39 am
I guess you will have to use Jeff's code to extract a substring, then.
Try it: performs very well.
May 24, 2011 at 10:02 am
Every time I had to do something similar to this, I used Crystal Reports.
You can create a report with an Image field and read it from a binary column in...
May 24, 2011 at 9:48 am
Short answer: you don't want your data to sit in a single column. Each column MUST contain one and only one information.
Longer answer: you can use a split function to...
May 24, 2011 at 9:38 am
Looks like Oracle SQL.
Are you sure it's MS SQL Server T-SQL?
May 24, 2011 at 9:26 am
mikes84 (5/24/2011)
Disable the sa account
Why disable it? What if all users are accidentally locked out or deleted. SA is your guaranteed way in, no?
don't use it.
Don't use it for the...
May 24, 2011 at 9:04 am
It's an article series, some articles are yet to be published.
May 24, 2011 at 7:16 am
Viewing 15 posts - 3,181 through 3,195 (of 5,394 total)