Viewing 15 posts - 4,396 through 4,410 (of 14,953 total)
select distinct T1.Product_name, Product_budget, T1.Month
from [Product Table] as T1
inner join [Product Budget] as T2
on T1.Product_ID = T2.Product_name
and T1.Month = T2.Month
where T1.Product_ID = 10001;
Looks like that should...
April 25, 2011 at 12:08 pm
Condolences and prayers to your friend's family and all who knew him.
On the subject of living for the present as well as the future, I like to remind people that...
April 25, 2011 at 9:34 am
Craig Farrell (4/20/2011)
So for the rest of you tech article writer/bloggers, instead of helping...
April 22, 2011 at 7:41 am
If the code doesn't later use the @rc variable for anything, then no, there's no reason to store the return-value in it.
You can use the Return command to return any...
April 22, 2011 at 7:35 am
K. Brian Kelley (4/20/2011)
Cannot find the user 'DOMAIN\domainuser'
That seems to be the real issue. Are you sure the username wasn't mistyped and that it existed in the database as a...
April 22, 2011 at 7:32 am
EXEC @rc = Mydb.dbo.Usp_mytable_Insert
@ProcessId,
@dEnddate,
@sMessage,
NULL, NULL, NULL, 0, 1, 'Error', NULL, NULL
All of that is the command to execute the stored procedure. These are parameter values:
@ProcessId,
@dEnddate,
@sMessage,
NULL, NULL, NULL, 0, 1,...
April 20, 2011 at 1:58 pm
You could use Min() or Max() on the name, and group by the rest of it. Won't control which one you show, but will only show one.
April 20, 2011 at 1:38 pm
So far as I can tell, you'll need to check if he's been denied any rights in that direction. Those would override the role.
April 20, 2011 at 1:36 pm
I'd have to see details before I could recommend anything. Table structures, et al, will be needed in order to recommend anything sensible.
April 20, 2011 at 1:33 pm
GilaMonster (4/20/2011)
LutzM (4/20/2011)
April 20, 2011 at 12:48 pm
I would say the better solution is to properly protect the server login credentials.
April 20, 2011 at 12:05 pm
This has options for formatting dates and times: http://msdn.microsoft.com/en-us/library/ms187928.aspx
April 20, 2011 at 10:48 am
I'm always interested when people rediscover the master-journeyman-apprentice system, or pieces of it. It solves so many problems.
April 20, 2011 at 8:59 am
I'd do that with the firewall, not in SQL Server. That's what firewalls are for.
April 20, 2011 at 8:55 am
WayneS (4/19/2011)
GSquared (4/19/2011)
Joe ... if you're trying to set an example, please start doing so.
Oh, he's setting an example all right - just not the kind that is appreciated out...
April 20, 2011 at 6:23 am
Viewing 15 posts - 4,396 through 4,410 (of 14,953 total)