Forum Discussion

cw88's avatar
cw88
Helper IV
2 years ago
Solved

Create lakehouse tables with script

Hi,  i use lakehouse tables as bronze layer, as destination for pipelines with source csv files. This lakehouse tables are the base for views in my warehouse. (create view warehouse.dbo.testview as ...
  • R1k91's avatar
    2 years ago

    doens't work for you to run a notebook that creates tables?

     

     

     

    %%sql
    CREATE TABLE mytable (
        f1 INT,
        f2 VARCHAR(10)
    )
    
    CREATE TABLE mytable2 (
        f1 INT,
        f2 VARCHAR(10)
    )
    
    CREATE TABLE mytable3 (
        f1 INT,
        f2 VARCHAR(10)
    )