Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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, November 20, 2014 8:14 PM
Points: 1,293, Visits: 1,138
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: Wednesday, November 19, 2014 5:03 AM
Points: 2,840, Visits: 3,975
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: Wednesday, November 19, 2014 5:03 AM
Points: 2,840, Visits: 3,975
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: Today @ 6:32 AM
Points: 7,135, Visits: 12,745
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: Yesterday @ 8:48 AM
Points: 12,921, Visits: 32,285
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

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #1412095
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse