Viewing 15 posts - 1 through 15 (of 72 total)
Morning all, sincere apologies for the radio silence.
The function is as follows:
create function
dbo.mydatefunction (@Date date, @DaysToAdd int)
returns Date as
begin
declare @Dates...
October 7, 2021 at 7:24 am
Hi chaps sorry it took a few days to reply.
the issue was that VS 2019 pro was showing the green tick on the insert task and then moving onto the...
September 18, 2021 at 7:33 am
I agree it’s hard to imagine a bug with update. I will try profiler and see what falls out the other end.
cheers as always,
Dave
September 13, 2021 at 3:59 pm
Hi Phil,
Yeah its identical, I am simply executing the execute SQL task by right clicking on it in VS.
That works whereas running the package in its entirety causes the error...
September 13, 2021 at 12:57 pm
Hiya Phil, I tried that but no luck.
it’s worth mentioning that other scripts using the same method are unaffected.
cheers,
Dave
February 22, 2021 at 4:05 pm
Hi Phil,
thanks as always for your constructive reply.
Yes we are moving from TFS to Git with bitbucket. I have today found a way to at least lock files using this...
April 15, 2020 at 8:07 pm
Yep, I don't like that either!
Cheers,
Dave
January 24, 2020 at 4:15 pm
Hi Phil, thanks for replying. This is exactly what I thought. This is all at a POC level so far.
I originally had my dimensional loads running in sequence but the...
January 24, 2020 at 2:47 pm
Hi John, thanks for the reminder about SQL injection. I think we are ok in this case.
I have the following which works perfectly.
Cheers for the help everyone.
Dave
DECLARE...
December 20, 2019 at 11:32 am
I should add that testing the dynamic SQL gives the correct result to @@temp_inner.
December 20, 2019 at 9:44 am
Hi all, thanks for the replies.
I am writing the SPROC to replace the function.
The below is where I am up to but I am getting a null result from SELECT(@SQL_FINAL)
any...
December 20, 2019 at 9:40 am
Msg 557, Level 16, State 2, Line 3
Only functions and some extended stored procedures can be executed from within a function.
December 19, 2019 at 9:53 am
Hi John, thanks for the reply.
I have implemented it as follows:
but I am now getting this error when I call the function.
Will this go away if I got back to...
December 19, 2019 at 9:52 am
Apparently it should be possible to use global variables inside SSRS to get the info I need.
I should be able to use: =Globals!ReportFolder + "/" + Globals!ReportName in a parameter...
October 15, 2019 at 10:57 am
Hi, cheers for the response.
Yes the locking is at the SQL level and yes I am trying to avoid no lock on 1000 reports. 🙂
The scraping of the URL is...
October 14, 2019 at 3:27 pm
Viewing 15 posts - 1 through 15 (of 72 total)