• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Reply to: SQL data generator

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "SQL data generator"

Collapse

  • bless 'em all
    replied
    Originally posted by Mich the Tester View Post
    The other way, for real simpletons like testers is to use Excel. Make a column for your customername, call him Mich1, then make another one underneath, Mich2. use the mouse and the little plus sign to make a whole column running through Mich3, Mich4 etc. Do the same for numbers. Then make a .csv and load into your DB using whatever loader is has, like SQL loader for oracle or BULK INSERT on SQL Server. How do I load text or csv file data into SQL Server?

    This has the advantage that you can maintain test data in excel and add or change as necessary, and of course you don't need to be a real coder to do it.
    Sssshhhh!!! I keep client co in test data using this technique - if this gets out I'll lose my status as data-guru.

    Although I use INSERT ALL and just copy/paste the spreadsheet into the PL/SQL Developer tool.

    Leave a comment:


  • DimPrawn
    replied
    Originally posted by Mich the Tester View Post
    The other way, for real simpletons like testers is to use Excel. Make a column for your customername, call him Mich1, then make another one underneath, Mich2. use the mouse and the little plus sign to make a whole column running through Mich3, Mich4 etc. Do the same for numbers. Then make a .csv and load into your DB using whatever loader is has, like SQL loader for oracle or BULK INSERT on SQL Server. How do I load text or csv file data into SQL Server?

    This has the advantage that you can maintain test data in excel and add or change as necessary, and of course you don't need to be a real coder to do it.
    I did something similar by using Google I found csv and txt files containing old census data (US I think), so that gave me people names and address fields. PAF file gave me post codes. DOB, phone numbers is easy to generate with an Excel formula etc.

    Once you have all the raw test data writing a script to import it in the right order is simple enough.

    Leave a comment:


  • Mich the Tester
    replied
    The other way, for real simpletons like testers is to use Excel. Make a column for your customername, call him Mich1, then make another one underneath, Mich2. use the mouse and the little plus sign to make a whole column running through Mich3, Mich4 etc. Do the same for numbers. Then make a .csv and load into your DB using whatever loader is has, like SQL loader for oracle or BULK INSERT on SQL Server. How do I load text or csv file data into SQL Server?

    This has the advantage that you can maintain test data in excel and add or change as necessary, and of course you don't need to be a real coder to do it.

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by oscarose View Post
    A google search has located:-

    generatedata.com

    I use that one quite often

    Redgate do a paid data generator

    Leave a comment:


  • oscarose
    replied
    Originally posted by DimPrawn View Post
    SQL Data Generator - Data generator for MS SQL Server databases

    14 day fully functional free trial.

    PS. This should be in technical
    Great.

    Many thanks.

    Leave a comment:


  • DimPrawn
    replied
    SQL Data Generator - Data generator for MS SQL Server databases

    14 day fully functional free trial.

    PS. This should be in technical

    Leave a comment:


  • oscarose
    replied
    Originally posted by Mich the Tester View Post
    Characters (Transact SQL on MS SQL Server);

    SQL Tools: t-sql random string generator

    Numbers;

    SQL SERVER – Random Number Generator Script – SQL Query | SQL Server Journey with SQL Authority

    You'll have to adapt to whatever SQL database you're running.
    Cheers Mitch.

    Leave a comment:


  • oscarose
    replied
    A google search has located:-

    generatedata.com

    Leave a comment:


  • Mich the Tester
    replied
    Characters (Transact SQL on MS SQL Server);

    SQL Tools: t-sql random string generator

    Numbers;

    SQL SERVER – Random Number Generator Script – SQL Query | SQL Server Journey with SQL Authority

    You'll have to adapt to whatever SQL database you're running.

    Leave a comment:


  • oscarose
    started a topic SQL data generator

    SQL data generator

    Morning men,

    I need some random test data (customers, orders, etc) creating for a demo database asap.

    Does anyone know of a 'SQL data generator script' I can 'download'.

    With kind regards,

    O

Working...
X