logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
humblehumboldt  
#1 Posted : Wednesday, May 29, 2019 8:37:11 AM(UTC)
Rank: Newbie
I am wondering if it is possible to use 'Jump between COLUMN/VALUE' for insert...select statements, not just insert...values.

For example:
Code:


declare @temp table (Id int, Name varchar(30))

-- 'Jump between COLUMN/VALUE' works.
insert into @temp (Id, Name)
values (1, 'Jeff')

-- 'Jump between COLUMN/VALUE' doesn't work (No parent BEGIN/END found)
insert into @temp (Id, Name)
select 1, 'Jeff'

-- 'Jump between COLUMN/VALUE' doesn't work (No parent BEGIN/END found)
insert into @temp (Id, Name)
select Id, Name
from SomeOtherTable




Rss Feed  Atom Feed
Users browsing this topic
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.