SQL Server How to insert current results into table -
i have run lengthy query results useful.
unfortunately did not insert results table, displayed in results view there way store current results table temp table? data exists.. possible like:
select * #tempresults currentresults
where currentresults points to... current results
you can try save results tab separated file. click in little blank square on top left of results. select results see. after right click on same little square , select copy headers.
this copy results in clipboard using tabs columns delimiter , new line symbol (\r\n) rows delimiter. paste new file. can use import data menu insert results in table (new 1 or existing one):
select flat file source data source in import wizard, choose file made. sure set proper datatype each column importing in advanced menu on left. otherwise errors/warnings during import:
Comments
Post a Comment