About 50 results
Open links in new tab
  1. Insert into table from another stored procedure does not work when ...

    Jul 3, 2019 · If a stored procedure that is called to returns results contains a timestamp column the standard Insert into temp table exec stored procedure does not work.

  2. using a CTE then getting results into a temp table

    Feb 19, 2016 · well i need to get the results into a temp table. The reason being that i need to show the top 10 per group of the results. And i can't do this straight from the results. Or thats what i've gathered.

  3. Dynamically Create table and insert the records from source to ...

    Even you can not use @TABLE directly in SELECT or INSERT statement. You need to create dynamic SQL string and execute it with EXEC command. Example, DECLARE @TABLENAME NVARCHAR …

  4. DBCC SHOWCONTIG - social.msdn.microsoft.com

    Aug 17, 2016 · ·Take the data from temp table and load it into a permanent table, adding some extra columns; we are in need of creating variables at time showcontig runs, for use later when moving …

  5. Transaction count after EXECUTE indicates a mismatching number of …

    Sep 26, 2017 · If you replace the temp table with a table variable, that problem disappears. But you still need to communicate more clearly to the caller that things went wrong.

  6. How to check if a temporary table exists? - social.msdn.microsoft.com

    May 17, 2011 · So it's possible, that using the query proposed by Nitin, you realize that the temporary table exists. when in fact, what exists is a temporary table created in another session that is invisible …

  7. Chunk time slot into 15 minutes. - social.msdn.microsoft.com

    May 26, 2017 · User can select any startdate and enddtae.I want to convert the time into 15 mins chunk for selected range of date. i found some code below but by using that i am able to covert for single …

  8. Insert, Update and Delete Using SQL Parameterised Stored Procedures …

    Oct 7, 2021 · l have been able to save, update and delete using Entity Framework but without procedures. l find procedures to be very handy and fast and now want to use them. Could anyone …

  9. select from openquery inside a transaction doesn't rollback when error

    May 7, 2018 · Turns out you're right. The transaction doesn't even start. So maybe the question i should've asked is how do i catch this error? into a parameter.

  10. SSIS - VS_NEEDSNEWMETADATA

    Jul 19, 2012 · In my SSIS package I have a For Each loop that collects names of tables and stores them in a variable. Within this For Each Loop container, I have an Execute SQL Task item that reads …