Viewing 15 posts - 5,671 through 5,685 (of 13,468 total)
Lynn Pettis (4/2/2012)
What has me slightly confused is you talk about using Database Mail, but the code you show is using CDONTS....
April 2, 2012 at 2:47 pm
Welsh Corgi (4/2/2012)
SELECT *
FROM sysmail_event_log
Nothing but start & stop DB Mail
SELECT *
FROM sysmail_allitems
I found the items were listed as failed.
Waia minute...you said for all...
April 2, 2012 at 1:37 pm
CDONTs was a com object, and that error says it's not registered yet;
you may need to copy the dll to the server, and then register it.
http://www.jppinto.com/2009/03/install-cdonts-mail-component-and-smtp-on-windows-server-2008/
I know from your outer...
April 2, 2012 at 11:42 am
ravisamigo (4/2/2012)
Hi All,How to create a user defined database role to give create and alter permissions only on views.
Please advise.
Thanks and Regards,
Ravi.
Ravi take a look at this thread on the...
April 2, 2012 at 4:34 am
we have that in a few tables;
it's usually something like an Entity and need to to identify the "prime" entity,
an example might be a table of bank names,...
March 30, 2012 at 12:35 pm
looks like licensing:
licensed for cores on the hardware, or optionally with client cal licenses:
http://www.microsoft.com/sqlserver/en/us/get-sql-server/licensing.aspx
March 30, 2012 at 11:49 am
SET QUOTED_IDENTIFIER OFF
USE "SandBox";
select * from sys.tables
--above shows a syntax error
GO
SET QUOTED_IDENTIFIER ON
USE "SandBox";
select * from sys.tables
--above works just fine
March 30, 2012 at 10:02 am
Charmer (3/30/2012)
Lowell (3/30/2012)
Create view TableToday
AS
select
DATEADD(dd, DATEDIFF(dd,0,getdate()), 0) As TheDate,
GETDATE() as TheDateTime,
edit: misread the question...thought you wanted...
March 30, 2012 at 9:33 am
anthony.green (3/30/2012)
March 30, 2012 at 8:59 am
i think that syntax was valid for 2000, but not 2005 and above;
as i remermber it the solution is simple...
include the sd.SalesOrderId in the select, and
i believe...
March 30, 2012 at 8:39 am
both answers help me visualize this a lot, thanks guys;
The Coupon/Discount table's the way I'm thinking as well...it's like Sean said, the discounts apply to the order, not the individual...
March 30, 2012 at 8:34 am
how about a view, so you have the date? is that what you want?
Create view TableToday
AS
select
DATEADD(dd, DATEDIFF(dd,0,getdate()), 0) As TheDate,
GETDATE() as TheDateTime,
edit: misread the question...thought you wanted a table...
March 30, 2012 at 8:21 am
the error 'cannot assign a default variable' shows the script is for 2008+, and you are running it on 2005;
it'll need a couple of minor tweaks.
March 30, 2012 at 6:08 am
i would prefer to track the cost price and the retail price, and calcuate the percentage of markup myself.
so often the retail price is going to end in "9", to...
March 30, 2012 at 6:05 am
if this helps anyone, or generate suggestions for my process, great!
this is exactly how i do it.
in my case, i need an individualized email for each recipient...no emails with mulitple...
March 29, 2012 at 10:33 am
Viewing 15 posts - 5,671 through 5,685 (of 13,468 total)