Search Unity

Running SQL files with c#

Discussion in 'Scripting' started by danielmsorensen, Apr 25, 2015.

?

How do I run an sql file with c#

  1. It is possible

    0 vote(s)
    0.0%
  2. It is not possible

    0 vote(s)
    0.0%
  1. danielmsorensen

    danielmsorensen

    Joined:
    Apr 25, 2015
    Posts:
    4
    Hi,

    I have an sql file called InsertRow.sql and I want to run it using c#.

    e.g: Run.sqlfile ("C:\InsertRow.sql")

    How would I do this
     
  2. Korno

    Korno

    Joined:
    Oct 26, 2014
    Posts:
    518
    What database engine are you using?
     
  3. danielmsorensen

    danielmsorensen

    Joined:
    Apr 25, 2015
    Posts:
    4
    Google fusion tables
     
  4. danielmsorensen

    danielmsorensen

    Joined:
    Apr 25, 2015
    Posts:
    4
    Anyone Know