[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 6937 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 7 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
I hope all the fake Nepali refugee get deported
Travel Document for TPS (approved)
All the Qatar ailines from Nepal canceled to USA
MAGA मार्का कुरा पढेर दिमाग नखपाउनुस !
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