Viewing 15 posts - 1,666 through 1,680 (of 2,649 total)
not necessarily bad - it depends on how many times that spool is created - if just once its fine - if once per each loop then not so good....
February 17, 2020 at 10:12 am
-- option 2
or if the aggreg_nr still does not work then replace all the outer applies with
outer apply (select sum(amt) over (order by nr) from dbo.dbdopsk dop where dop.nr...
February 17, 2020 at 9:37 am
can you also try the second option - and post plans for both first option (with outer apply) and my second - this second should be better than your first...
February 17, 2020 at 9:14 am
ah well.. we just looking at it and thinking of what can be better and not testing as we don't have ddl for the tables.
try the following 2 options
February 17, 2020 at 8:49 am
I don't quite understand the purpose of this code:
OUTER APPLY (SELECT NR,
...
February 16, 2020 at 9:21 pm
you should know better by now that such a basic question without some google investigation is not getting you nowhere fast.
lots of info about that subject already that you should...
February 16, 2020 at 12:05 pm
could you post a link to that book - that used to be something that applied only to tempdb files, and even that is really a myth.
for most cases...
February 14, 2020 at 12:10 pm
first I hope you aren't doing those inserts one by one - if so change it so you work with sets not with a record at the time
in order to...
February 13, 2020 at 12:46 am
have a look at https://www.php.net/manual/en/function.sqlsrv-prepare.php
or https://docs.microsoft.com/en-us/sql/connect/php/sqlsrv-prepare?view=sql-server-ver15
different functions than the one you gave the link for - this may work for you
February 11, 2020 at 8:49 pm
did you try
$spSQL = "exec p_1A_insert ( ?, ?, ?, ?, ?, .....
$storedProc = sqlsrv_query( $queryLink, $spSQL, $spParams );
or
$spSQL = "exec p_1A_insert @parametername1 = ?, @parametername2 = ?, ?, ?,...
February 11, 2020 at 6:15 pm
in 2016 they work fine - I have a DB where most of of the tables have a CCI's and no issues with them.
but in compat 2012 .... test it...
February 11, 2020 at 1:44 pm
Mike - this is shown on this site - not on any email I get
February 11, 2020 at 1:41 pm
google for "winevents load to sql server" and you will find a few examples of how to do it
February 9, 2020 at 8:15 pm
I do think it is very clear that it is free. And it is the vendor you should be asking in the first place.
February 9, 2020 at 7:45 am
you have the wrong order there
and 2 servers mean 2 different ip's and 2 different names so they can be alive at same time.
keep old server with old name
1 -...
February 8, 2020 at 12:52 am
Viewing 15 posts - 1,666 through 1,680 (of 2,649 total)