Viewing 15 posts - 886 through 900 (of 1,995 total)
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
a slightly easier way could be using row_number over order by
for example, to get the first item in sysobjects by type (first table, first proc etc)
select x.* from (
select name,...
September 13, 2019 at 1:36 pm
Number isn't a data type
use decimal and specify the precision and scale
https://docs.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql?view=sql-server-2017
September 13, 2019 at 1:25 pm
are you using a fully qualified UNC path? such as
\\server\folder1\file1
or a local path
H:\file1
I've had issues with local paths and now everything is UNC for me
September 13, 2019 at 1:19 pm
if your scaled out DB has just replicated a delete without a where clause then you are just as stuffed as if the scaled out cluster went...
September 13, 2019 at 1:12 pm
Viewing 15 posts - 886 through 900 (of 1,995 total)