[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 6565 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 30 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
Toilet paper or water?
Sajha Poll: Who is your favorite Nepali actress?
Mamta kafle bhatt is still missing
Problems of Nepalese students in US
ढ्याउ गर्दा दसैँको खसी गनाउच
अरुणिमाले दोस्रो पोई भेट्टाइछिन्
seriously, when applying for tech jobs in TPS, what you guys say when they ask if you have green card?
Are Nepalese cheapstakes?
Nepali Psycho
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