[Show all top banners]

neo-reactive-poet
Replies to this thread:

More by neo-reactive-poet
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 SQL Server Table with data
[VIEWED 14380 TIMES]
SAVE! for ease of future access.
Posted on 07-25-19 9:55 PM     [Snapshot: 61]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

SELECT * FROM TABLENAME
That will give you data. lol
 
Posted on 07-27-19 8:29 AM     [Snapshot: 288]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Right click on the Database, go to Generate skript, inside 'advanced' ( I believe) it says 'schema' and 'Schema and Data' select 'Schema and Data' one.
Or 
SELECT *
INTO newtable (it will create a new table)
FROM tableName (you want to create a table using this table data)

Hope it helps.




Last edited: 27-Jul-19 08:35 AM

 
Posted on 07-28-19 8:41 AM     [Snapshot: 438]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Hello smtzac,
Thank you for your reply.
Is there a query to generate a query as an alternative by going into the database>tasks>generate skript.......?

Thank you.
Last edited: 28-Jul-19 01:23 PM

 
Posted on 07-28-19 9:16 AM     [Snapshot: 449]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

No, I don't believe so.
Last edited: 28-Jul-19 09:22 AM

 
Posted on 07-29-19 11:00 AM     [Snapshot: 543]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Copy the result set from the following query and patch with INSERT INTO dbo.DestinationTable(ColumnA,ColumnB)
SELECT 'SELECT '+ ''+ColumnA+''+','+''+ColumnB+''+' UNION ALL'
FROM dbo.TableName


 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 365 days
Recommended Popular Threads Controvertial Threads
ANA and AJAY KUMAR DEV. RAPISTS CONVENTION
NRN card pros and cons?
TPS To F-1 COS
Democrat wants to run election like in India. Chaos and Confusing to voters.
legal Query for married nepali girl now have taken US citizenship
ए १ पनि पुगेनछ ?
Trump’s “Big Beautiful Bill” is straight-up xenophobic class warfare. Let’s call it what it is.
A legit Non-Profit organization "United For TPS Nepal "
Business Ideas in Nepal?
Leave messages on US congressman's facebook to support TPS
2020 : Why No Trump !
Democrat lies revealed
#MAGA#FAFO is delicious
Nepal Likely to Get 60-Day TPS Notice
TPS Sakiyo Tara Case is in Court.
Breaking News: Ninth Circuit Rejects Government Bid to Undo Nepal TPS Order, Leaves Protections in Place
200 denaturalization cases per month to the Department of Justice for the 2026 fiscal year.
नोबेल शान्ति पुरस्कार र अशान्त राष्ट्रपतिको बालहठ
मुद्दा हाल्छन होला र ?
NEPAL TPS IS GONE
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters