Viewing 15 posts - 121 through 135 (of 470 total)
We also use synonyms as we have test and live systems (the database names are different).
We just point the synonyms to the right database (depending on the system) and off...
August 2, 2019 at 9:29 am
This is something we've been looking at as part of our load (just an idea at the minute).
We have a multi-part process to load our tables as follows:-
August 2, 2019 at 9:26 am
No conversions anywhere. It starts as a NULL (it's a filler field for now that doesn't contain any data but will be needed in the future) and stays as a...
June 25, 2019 at 12:29 pm
May be a data issue. The stuff getting loaded into the temp table is not stored as a date maybe? Hard to know not seeing the data. Check the...
June 25, 2019 at 12:24 pm
Grant - I use local variables in all cases. The normal for a stored procedure that needs parameters for our team is to get the parameters (in whatever format) and...
June 25, 2019 at 12:21 pm
Now it's gone odd.
I moved the "normal" code into a stored procedure and tried to alter the procedure and I've got the error:-
Msg 206, Level 16, State 2, Procedure usp_Load_MSDS101_Pregnancy_and_Booking,...
June 25, 2019 at 12:17 pm
Thanks Grant
I don't think it's parameter sniffing (I hope) as I moved the stored procedure into a standard piece of SQL and it was doing the same thing.
I was using...
June 25, 2019 at 12:10 pm
We did something similar to get all the files we'd uploaded using the attached script.
It download all the RDL files, all the data source files (.RDS) and (I think) any...
June 5, 2019 at 9:07 am
Thanks John
Never thought of it like that so I've learned something else as well.
Cheers
Richard
June 3, 2019 at 1:22 pm
Thanks guys
That will do for me.
Completely forgot about using sysname (but I didn't think it would get around SQL injection so I've learned something).
Cheers
Richard
June 3, 2019 at 1:07 pm
Hi John
The query works as-is but I want to include the database and table names in the parameters.
When I alter the code (just to keep from altering the stored procedure)...
June 3, 2019 at 12:36 pm
Steve - Thanks for that, it looks like we've only got one file in each of the filegroups.
tripleAxe - We do have full-text indexing but I'm not convinced it's used/necessary.
I'll...
May 21, 2019 at 8:59 am
Thanks for that.
I was going to do this first on our test database (after 2 backups to make sure that at least one of them is good!).
It's either that or...
May 20, 2019 at 2:34 pm
Hi Jeff
As far as I can see, there is no reason for these files to exist (there are no partitions to any of our databases).
I did read that NDF files...
May 20, 2019 at 1:23 pm
Viewing 15 posts - 121 through 135 (of 470 total)