Generate sciprt for large table with command

  • I want to generate sciprt large table with command , i couldnt able to do with SSMS

  • What do you mean by script a large table? Are you referring to data or structure?

  • generate script with large table ?? so i can run script in another database server

  • SQLCMD -S LOCALHOST -d AdventureWorks -i C:\script.sql -E

    i want to run this for specify table . is that possible ??

  • 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;-)

  • I want to generate script for a table through command

  • 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;-)

  • Its for whole database , i want to run for specify table 🙂

  • 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

  • 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!

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply