Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Generate sciprt for large table with command Expand / Collapse
Author
Message
Posted Monday, January 21, 2013 12:36 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 6:00 AM
Points: 27, Visits: 65
I want to generate sciprt large table with command , i couldnt able to do with SSMS
Post #1409377
Posted Monday, January 21, 2013 12:45 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, August 18, 2016 9:14 PM
Points: 1,369, Visits: 1,215
What do you mean by script a large table? Are you referring to data or structure?
Post #1409378
Posted Monday, January 21, 2013 12:51 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 6:00 AM
Points: 27, Visits: 65
generate script with large table ?? so i can run script in another database server
Post #1409380
Posted Monday, January 21, 2013 1:01 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 6:00 AM
Points: 27, Visits: 65
SQLCMD -S LOCALHOST -d AdventureWorks -i C:\script.sql -E

i want to run this for specify table . is that possible ??
Post #1409388
Posted Monday, January 21, 2013 1:05 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, July 19, 2016 4:34 AM
Points: 2,850, Visits: 4,076
getsimrangujral (1/21/2013)
generate script with large table ?? so i can run script in another database server
friend ,

The problem is "we cant see what you see", what you actually want in your query we dont know so better explain everything. see the link in my signature below.

Help us to help you



-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done
Post #1409389
Posted Monday, January 21, 2013 1:07 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 6:00 AM
Points: 27, Visits: 65
I want to generate script for a table through command
Post #1409392
Posted Monday, January 21, 2013 1:25 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, July 19, 2016 4:34 AM
Points: 2,850, Visits: 4,076
getsimrangujral (1/21/2013)
I want to generate script for a table through command
see this linl http://blog.sqlauthority.com/2007/11/16/sql-server-2005-generate-script-with-data-from-database-database-publishing-wizard/


-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done
Post #1409397
Posted Monday, January 21, 2013 1:37 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Saturday, February 9, 2013 6:00 AM
Points: 27, Visits: 65
Its for whole database , i want to run for specify table :)
Post #1409402
Posted Saturday, January 26, 2013 8:25 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 1:42 PM
Points: 7,932, Visits: 14,336
Get the SSMS Tools Pack. With it you can right click a table in SSMS Object Explorer and generate the series of INSERT statements required to take your data with you to another environment.

http://www.ssmstoolspack.com/Features#GIS


__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1412035
Posted Saturday, January 26, 2013 8:26 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:39 AM
Points: 14,469, Visits: 38,083
sounds like you are getting an error because you have a database greater than ten gig on a SQL express installation;
my recommendation would be to spend $45 dollars and buy the developer edition on Amazon so you can at least get started with fixing your data to fit into the ten gig limitation;


you'll need to strip out or archive a lot of data to get it to comply with the 10 gig limitation again.
otherwise plan on buying the standard edition for the production installation.


Lowell

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
Post #1412095
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse