This user account () has been banned from the forums
Viewing 15 posts - 16 through 30 (of 160 total)
Ahhhhh ... it that case it worked for me too.
However, my understanding is that the watermark_value in the watermarktable should change if there is any updates to the the fields...
August 18, 2022 at 2:46 pm
I welcome any additional thoughts on this question.
Please let me know if I need to provide any additional information for you to help me? Or if I haven't phrased the...
August 18, 2022 at 9:20 am
Do you mean to say, you entered the update and then executed:
ALTER PROCEDURE dbo.usp_write_watermark @LastModifiedtime DATETIME, @TableName VARCHAR(50)
AS
BEGIN
UPDATE [watermarktable]
SET [watermark_value] = @LastModifiedtime
WHERE [table_name] = @TableName
END;
GO
And it worked for you?
August 17, 2022 at 8:39 pm
What do you mean, it worked for you?
August 17, 2022 at 8:38 pm
However, when I execute my SP I get the following
But then no changes to to the watermark_value
August 17, 2022 at 8:34 pm
When I run your code, I am asked to enter a date
I then enter 8/17/2022
And I get the following
August 17, 2022 at 8:31 pm
The stored procedure is as follows:
CREATE PROCEDURE dbo.usp_write_watermark @LastModifiedtime datetime, @TableName varchar(50)
AS
BEGIN
UPDATE [watermarktable]
SET [watermark_value] = @LastModifiedtime
WHERE [table_name] = @TableName
END;
GO
August 17, 2022 at 7:38 pm
Can I get your thoughts on this? I think the issue is with the stored procedure
August 17, 2022 at 7:37 pm
ok, I executed usp_write_watermark, and still no change
August 17, 2022 at 4:19 pm
Sorry, I meant to say it should do an update on store_customer, but as you can see it didn't update
August 17, 2022 at 3:48 pm
Hi All,
I have also enlisted the help of the good people at Stack Overflow for help... I hope you're not affended.
July 26, 2022 at 4:47 pm
I just figured out what line I was getting the error on:
Msg 468, Level 16, State 9, Line 244 Cannot resolve the collation conflict between "Latin1_General_100_BIN2_UTF8" and "SQL_Latin1_General_CP1_CI_AS" in the...
July 26, 2022 at 3:55 pm
I tried this but I got the following err
FUNCTION 'OBJECT_SCHEMA_NAME' is not supported.
July 26, 2022 at 1:44 pm
Hi David,
The person tha crafted the script checked out the tempdb, and it different to the database. However, when he changed COLLATE to match the database it still failed.
We are...
July 26, 2022 at 12:25 pm
Hi Jeff,
Thanks for getting in touch.
I will take a look at the link, however I think I'm going to struggle as to where to apply the COLLATE clause
July 25, 2022 at 7:02 pm
Viewing 15 posts - 16 through 30 (of 160 total)