Viewing 15 posts - 886 through 900 (of 1,999 total)
fi you did something like this
select * from mytable with (tablockx)
then you have granted an exclusive lock against the entire table and no writer should get access
you can also test...
September 19, 2019 at 11:02 am
Great article, and i'm glad you enjoy contributing to the site, it has certainly helped myself as well
one of my previous employers put every new employee through a "consultancy and...
September 19, 2019 at 10:19 am
I know this sounds obvious, but have you tried putting it into an SSIS package? (for the love of god please bring back DTS)
you schedule that in SQL agent and...
September 19, 2019 at 9:44 am
back in the day of mirroring, if a transaction couldn't be committed to the standby then it would lock the primary (unless you had enterprise edition and hi performance mode)
this...
September 18, 2019 at 4:15 pm
depends on who you are sharing it with but I use showplan_XML
you can then copy and paste the XML
September 18, 2019 at 3:47 pm
I recently posted an article on here about this
we used Redgate sql backup and there are a few controls that let you schedule a restore to a remote server
it generates...
September 18, 2019 at 3:31 pm
I think what you are describing is done by using "WITH ROLLUP" in the group by or perhaps a grouping set
have a look at this article
for each of your dates...
September 18, 2019 at 2:42 pm
We do a lot of work in marketing for other companies, most have different seasonal requirements.
I'm told that we make every "poppy" for rememberance day in the UK, so october...
September 18, 2019 at 11:08 am
Bulk Insert uses the privs of the login using it. You have to make sure the login being used as the privs in the source directory.
Hehe - until you...
September 18, 2019 at 7:54 am
ok - the issue is why is ((0)) matching %PGDb007%
September 17, 2019 at 8:02 am
have you checked both the file security for the shared folder AND the share permissions.
i'm not saying this is best practice, but what I tend to do is set "everyone"...
September 17, 2019 at 7:59 am
you will get this forever - especially if you use temp tables.
my advice - scrap it and rebuild, you will spend less time doing that than the hours of bug...
September 13, 2019 at 4:04 pm
you might find that after adding the index that you will get a new index suggestion afterwards
I often have to go through 3 rounds of execution plans to get all...
September 13, 2019 at 2:46 pm
depending on what mean by "job log" you're going to have to get this from msdb database
dbo.sysjobhistory , maybe a few more tables, but I can't see a way to...
September 13, 2019 at 2:08 pm
I'd be tempted to say the measurement includes spooling to tempdb and either sorting or joining
if you have to sort/join without decent indexes then that would cause a lot of...
September 13, 2019 at 1:53 pm
Viewing 15 posts - 886 through 900 (of 1,999 total)