Viewing 15 posts - 91 through 105 (of 141 total)
My 2bits. Every table I ever create has as its first column "UID" which is an idenity column and is set a primary key.
In the very rare circumstance when I...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 25, 2004 at 4:44 pm
What I don't know never ceases to amaze me.
Thanks Hanslindgren, If I understand correctly this is what I have been looking for. Most of my transactions are the type where...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 24, 2004 at 5:24 pm
Looks like its essentialy the same as win03. don't you require authentication on your smtp server? Gotta fight spam ya know ![]()
Adding (vbscript):
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 12, 2004 at 12:40 pm
Well I went the route David Scotland went, since I already have an aspEmail componant installed on that server, I just use it.
I was not excited about installing outlook on...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 12, 2004 at 12:25 pm
From outlook it works fine. I resolved this by simply using sp_OACreateObject and an already installed smtp email componant. Sure is allot less hassle. Permission aside ![]()
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 11, 2004 at 6:03 pm
Thanks grasshopper that seems like the easiest way. Unless issueing the rollback/committ stops the proc then wouldn't I also need something like:
insert statement ....
If @@ERROR 0
...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 9, 2004 at 9:08 am
Well I havn't run any performance audits, but for the most part it's save a form and deliver a list sort of activities. Not a whole lot of analysis going...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 8, 2004 at 5:01 pm
ya as soon as I started to update the proc my brain turned back on ![]()
Thanks again,
dave
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 8, 2004 at 3:20 pm
OK after playing around with it a few times I think i have it. I actually need two variables.
declare @DidItError int
declare @AnyErrors bit
insert statement ....
set @DidItError = @@error
if @DidItError ...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 8, 2004 at 3:13 pm
Are the data collection points all in different time zones? and being sent to a seperate sql location in yet another time zone?
If so then you'll need some identifer from...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 8, 2004 at 12:33 pm
What format is the timezone in? Is it simply an offset from UTC?
"tiwjt" Is this a typo or perhaps is a formt I'm unfamiliar with.
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 7, 2004 at 12:16 am
yup the performance issues made it a no go on running the cursor in the trigger to call this proc..loop within a loop, was causing the remote bulk insert...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 6, 2004 at 12:46 am
Thankyou, Your first comment solved the main cofusion for me. Knowing that the trigger fires for the statement rather then for each row makes a difference. Although it's not reccomended I have a felling...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 5, 2004 at 4:25 pm
Um without created those tables and trying it on mine. Wouldn't you:
SELECT dbo.detailtable.stockID, dbo.detailtable.purchasenumber, MAX(dbo.detailtable.quantity) AS Expr1
FROM dbo.detailtable INNER JOIN
dbo.mastertable ON dbo.detailtable.stockID = dbo.mastertable.stockID AND dbo.detailtable.purchasenumber = dbo.mastertable.PurchaseNum
GROUP BY...
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 5, 2004 at 3:36 pm
Yup thanks, I was moving my code from T-sql into the script portion and realized my brain fart...thanks
dave
Dave
Trainmark.com IT Training B2B Marketplace
(Jobs for IT Instructors)
March 3, 2004 at 12:46 pm
Viewing 15 posts - 91 through 105 (of 141 total)