Forum Replies Created

Viewing 15 posts - 1,666 through 1,680 (of 2,654 total)

  • Reply To: Recursive CTE vs UNION ALL in a VIEW

     

    Jonathan AC Roberts wrote:

    I don't quite understand the purpose of this code:

     OUTER APPLY (SELECT NR, 
    ...
  • Reply To: Looking for recommendation on "cost threshold value"

    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...

  • Reply To: number of database files

    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.

    see https://www.sqlskills.com/blogs/paul/a-sql-server-dba-myth-a-day-1230-tempdb-should-always-have-one-data-file-per-processor-core/

    for most cases...

  • Reply To: Insert Data and read all Foreign Keys/Constraints first

    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...

  • Reply To: Incorrect syntax near ‘@P1’., when trying to execute prepared statements frm php

    did you try

    $spSQL = "exec p_1A_insert ( ?, ?, ?, ?, ?, .....

    $storedProc = sqlsrv_query( $queryLink, $spSQL, $spParams );

    or

    $spSQL = "exec p_1A_insert @parametername1 = ?, @parametername2 = ?, ?, ?,...

  • Viewing 15 posts - 1,666 through 1,680 (of 2,654 total)