The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

With ASA 9.0.2, is there a way to use: SELECT ColName INTO #temp FROM ExistingTable but give #temp the NOT TRANSACTIONAL quality, as if it were declared with this: DECLARE LOCAL TEMPORARY TABLE #temp(ColName) NOT TRANSACTIONAL

asked 31 Mar '14, 19:33

Paul%20Moore's gravatar image

Paul Moore
46113
accept rate: 0%


I am fairly certain the answer is "no, not for ASA 9.0.2, not for SQL Anywhere 16, not for any version".

...which is too bad, because SELECT ... INTO #temp is such an incredibly powerful construction... because you don't have to explicitly define data types... you can even use SELECT * to create a table without specifying the columns AT ALL; e.g.,

SELECT * INTO #t FROM rowgenerator CROSS JOIN dummy;

Powerful, yes, but apparently folks aren't lining up to demand NOT TRANSACTIONAL for it :)

permanent link

answered 31 Mar '14, 21:03

Breck%20Carter's gravatar image

Breck Carter
26.6k418575824
accept rate: 21%

edited 31 Mar '14, 21:08

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×18
×3

question asked: 31 Mar '14, 19:33

question was seen: 435 times

last updated: 31 Mar '14, 21:08