Viewing 15 posts - 1,561 through 1,575 (of 2,649 total)
apologies.
Bulk insert (done this way) requires a slightly different setup
working example below - note that i have removed the record type from the temp table as bulk would fail because...
April 13, 2020 at 4:12 pm
can you post here the bulk command you used please.
April 13, 2020 at 3:45 pm
Do I just replace the part he has the select and from with a bulk insert?
yes that would be a way - where I do "insert into #data .......
April 13, 2020 at 3:12 pm
you can do it 2 ways
1 - use parameters instead of string replacements - this is the best option- google and you will find some code with it for powershell
2...
April 13, 2020 at 11:43 am
I think the record layout is correct - its just that column "provider name" should be further divided into LastName, FirstName, Middle Initial (probably)
if object_id('tempdb..#data')...
April 9, 2020 at 6:03 pm
I think the record layout is correct - its just that column "provider name" should be further divided into LastName, FirstName, Middle Initial (probably)
if object_id('tempdb..#data') is not...
April 9, 2020 at 5:33 pm
not my group by - I just copied the original code and moved the top 5 to the inner sql - and removed the outer sql as not required
so if...
April 9, 2020 at 11:53 am
look at the properties of the linked server you are using and enable the RPC options
April 9, 2020 at 10:42 am
select top 5 c.companyname as companyname, sum(j.cost) as cost
from job j
inner join customer c
on j.cus_guid = c.guid
where j.duedate >= dateadd(day,-7,getdate()) and
j.duedate < dateadd(day,+1,getdate())
group by c.guid,c.companyname,j.cost
order by cost...
April 9, 2020 at 10:32 am
And I have to ask - what is your trillion size number - please put it fully here
1.000.000.000 -- for me this is 1 billion
and 5 GB ... that's a...
April 9, 2020 at 6:28 am
that is, as far as I can see, an older paper.
Visual Studio Subscriptions (formerly MSDN subscriptions) - latest licensing whitepaper here.
from it
Different Licensed Users Can Run the Same Software
Each...
April 8, 2020 at 6:15 pm
using the MSDN edition has a few constraints and I do not recommend it.
Main one is that if you use it then EVERYONE accessing that server, directly or indirectly, including...
April 8, 2020 at 3:17 pm
so you are telling us that you went through the documentation on over 160 dmv views and you didn't find any other view that has a query hash column?
even a...
April 8, 2020 at 3:06 pm
as you were told on your other thread about this (and please do not create multiple threads) you do each individually - which by now you should already be aware...
April 8, 2020 at 2:56 pm
DON'T do it is the correct answer. All columns should have the correct data type for their content and purpose.
Null is what you should be using - fact you don't...
April 8, 2020 at 8:48 am
Viewing 15 posts - 1,561 through 1,575 (of 2,649 total)