Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
YLM1603
New Member

How to convert a SQL view into a table?

Can I convert a SQL view into a table to perform the necessary transformations without having to update the data?

2 ACCEPTED SOLUTIONS
pankajnamekar25
Super User
Super User

Hello @YLM1603 

 

try this

CREATE TABLE new_table AS

SELECT * FROM your_view;

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

View solution in original post

wokka
Helper IV
Helper IV

In SQL Server using TSQL :

 

select *
into <new_table>
from <database>.<schema>.<view_name>

View solution in original post

6 REPLIES 6
v-tsaipranay
Community Support
Community Support

Hi @YLM1603 ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @YLM1603 ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @YLM1603 ,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @YLM1603 

Thank you for reaching out to the Microsoft Fabric community forum. Also thank you @wokka  and @pankajnamekar25  for your inputs.

 

Also, could you confirm which SQL platform you're using (e.g., SQL Server, PostgreSQL, MySQL)? The syntax for converting a view into a table differs slightly depending on the system.

 

Thank you.

wokka
Helper IV
Helper IV

In SQL Server using TSQL :

 

select *
into <new_table>
from <database>.<schema>.<view_name>

pankajnamekar25
Super User
Super User

Hello @YLM1603 

 

try this

CREATE TABLE new_table AS

SELECT * FROM your_view;

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors