# SELECT INTO not working for Cross-Connection Query (SQL Server)?

**URL:** <https://forums.toadworld.com/t/select-into-not-working-for-cross-connection-query-sql-server/38827>\
**Category:** Toad Data Point & Toad Intelligence Central\
**Created:** [December 19, 2016, 7:41am UTC](https://forums.toadworld.com/t/select-into-not-working-for-cross-connection-query-sql-server/38827 "2016-12-19T07:41:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amlloyd](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/amlloyd/32/337_2.png) [@amlloyd](https://forums.toadworld.com/u/amlloyd)\
**Post date:** [December 19, 2016, 7:41am UTC](https://forums.toadworld.com/t/select-into-not-working-for-cross-connection-query-sql-server/38827/1 "2016-12-19T07:41:59Z")

</div>

I am trying to simple copy data from a table in one DB to a new table in another DB (select \* into [db1] from [db2]), but TOAD keeps throwing an error.

CODE  
select \*  
into `TRIAGE PROD BOX`.FM\_SPSS\_TRIAGE\_Work.dbo.Material\_Dev\_20161219  
from `TRIAGE DEV BOX`.FM\_SPSS\_TRIAGE.dbo.YMKT\_TRIGGERBASE\_MATERIAL

ERROR  
ERROR: line 2, column 40, ending line 2, column 40: Found ‘.’: Expecting: end-of-input -or- ; -or- EXCEPT INTERSECT MINUS UNION -or- CLUSTER DISTRIBUTE FOR GROUP HAVING INTO LIMIT LOCK OFFSET ORDER PROCEDURE SORT UPDATE -or- ,

If I comment out the INTO portion, I can select just fine, so the db name syntax seems to be correct. Perhaps INTO doesnt work on cross connection queries?

---

<div class="post-metadata">

**Author:** ![Debbie\_Peabody](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/debbie_peabody/32/18_2.png) [@Debbie\_Peabody](https://forums.toadworld.com/u/Debbie_Peabody)\
**Post date:** [December 19, 2016, 11:06am UTC](https://forums.toadworld.com/t/select-into-not-working-for-cross-connection-query-sql-server/38827/2 "2016-12-19T11:06:55Z")

</div>

We don’t support INTO for cross-queries. We do support querying from one database and inserting into a different database. this would need to be done using the export/import wizard and not in a script.

 ![exproti.png](https://global.discourse-cdn.com/quest/original/2X/c/c5fb12c4a45c12e7b51aa88dcb16ebb7e1b13da4.png)

---

<div class="post-metadata">

**Author:** ![amlloyd](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/amlloyd/32/337_2.png) [@amlloyd](https://forums.toadworld.com/u/amlloyd)\
**Post date:** [December 19, 2016, 11:09am UTC](https://forums.toadworld.com/t/select-into-not-working-for-cross-connection-query-sql-server/38827/3 "2016-12-19T11:09:40Z")

</div>

Thanks Debbie, got it.

---

<div class="post-metadata">

**Author:** ![asif.mamsa](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@asif.mamsa](https://forums.toadworld.com/u/asif.mamsa)\
**Post date:** [March 29, 2021, 5:35pm UTC](https://forums.toadworld.com/t/select-into-not-working-for-cross-connection-query-sql-server/38827/4 "2021-03-29T17:35:01Z")

</div>

Hi.  
Are updates and Inserts still not supported in TDP or have they been implemented in recent versions?

Regards  
Asif
