Viewing 15 posts - 1 through 15 (of 33 total)
Thanks for the reply,
I'd be happier not allowing them access to SQL and I think secure FTP would suit their requirements. 🙂
April 4, 2016 at 8:13 am
Thanks ZZartin, I could run a trace as you say but I suspect that this is deliberate and malicious behaviour and as such whoever is doing it is good at...
September 20, 2014 at 12:52 pm
Thanks Sean, interesting about use of the nolock hint, I wasn't aware of that and this is recommedned by the software vendors - I will discuss it with them what...
September 20, 2014 at 12:24 pm
no generic columns - here is the view
CREATE VIEW [dbo].[bespoke_packaging_per_job]
AS
SELECT DISTINCT dbo.jobbom.jobnum, dbo.lotdet.lotnum, dbo.prdall.descr, dbo.spdfil.mark, dbo.boming.slot
FROM dbo.bomlot WITH (nolock) INNER JOIN
...
September 19, 2014 at 9:33 am
I completely agree, but I the support company I work for have only one login to this customer, and they will not create separate ones for each user unfortunately.
Any...
September 19, 2014 at 6:13 am
unfortunately it could be someone who logs in under the same credentials as me.
The db mail idea is good, although in the same way as disabling the trigger,...
September 19, 2014 at 1:38 am
Yes - disable/enable trigger are not in the default trace unfortunately 🙁
September 18, 2014 at 7:59 am
Yes, the data will be used to calculate storage charges for pallets based on the number of days the pallets have been in stock. I have a stored procedure...
September 2, 2014 at 10:17 am
Thanks for all your help guys, I marked Adi Cohn's as the solution because that's what I used in the end, but the other solution does also achieve the goal.
September 2, 2014 at 8:53 am
Thanks, that works great on my sample data, but when I try it against the real table with more rows it returns the following error:
The maximum recursion 100 has been...
September 2, 2014 at 2:52 am
I finally got this to create the view successfully with the following code:
WITH MyCTE AS (SELECT TOP (1) nomcode AS Retained
...
April 9, 2014 at 5:39 am
Thanks but when I try this it returns 'mutipart identifier MyCTE.RetainedVariable could not be bound'?
April 4, 2014 at 8:57 am
I can create a user defined function to get the value but not sure how I can use that either?
CREATE FUNCTION dbo.udf_retained_nomcode()
RETURNS @ret TABLE (col VARCHAR (16))
AS
BEGIN
DECLARE @retained...
April 4, 2014 at 7:30 am
Thanks I tried that but I can't use the subquery (SELECT nomcode FROM ctlfil WHERE recid = 24) in the GROUP BY clause
April 4, 2014 at 7:09 am
Thanks dwain.c - I used xsevensinzx because it is a one off operation. Yes it is slow but scheduled overnight it hadn't got in the way of anything...
January 24, 2014 at 12:45 am
Viewing 15 posts - 1 through 15 (of 33 total)