Viewing 15 posts - 1,156 through 1,170 (of 49,571 total)
*sigh* Yup, I know the feeling.
A client wants a SQL 2016 upgrade (from 2008 R2). I gave them a rough timeline, including analysing the environment (they don't fully...
July 10, 2017 at 7:48 am
July 10, 2017 at 5:40 am
July 10, 2017 at 4:22 am
If you're using ad-hoc queries, they should be parameterised, not have embedded literals. That's just good practice (and prevents SQL injection). At which point it's parameterised query vs parameterised query.
July 10, 2017 at 4:12 am
July 10, 2017 at 3:57 am
They're completely different.
Procedures are objects that you call and execute. They have cached plans.
Views are used as part of other statements. The other statements have plans, but...
July 10, 2017 at 3:42 am
July 9, 2017 at 1:50 pm
Sure. Use the sys.dm_db_stats_properties DMV to decide which stats to update.
July 9, 2017 at 11:38 am
July 9, 2017 at 10:25 am
brk5tr - Sunday, July 9, 2017 4:20 AMDoes anyone know how long I have to pass all 3 please?
Until the exams...
July 9, 2017 at 4:56 am
Personally I wouldn't link packages direct to hotels. Packages link to day details, which links to Hotel.
There's way too many tables there
Why are package and package duration...
July 8, 2017 at 2:31 pm
And if it's not homework, consider getting an external consultant/contractor in who's familiar with DB design. Designing a full DB from sparse requirements is a bit beyond a forum's free...
July 8, 2017 at 7:05 am
An update statement can't go into an infinite loop, not by itself. To get an infinite loop, you need a loop, ie a WHILE or a procedure that calls itself
July 8, 2017 at 7:02 am
First things first, repair with allow_data_loss is not the first thing you should try. It's a last resort. It loses data. How much, hard to tell.
Restoring from a...
July 8, 2017 at 6:35 am
July 8, 2017 at 3:00 am
Viewing 15 posts - 1,156 through 1,170 (of 49,571 total)