# Initialize SQLITE Database

**URL:** <https://discuss.kotlinlang.org/t/initialize-sqlite-database/24015>\
**Category:** Native\
**Created:** [January 23, 2022, 1:09pm UTC](https://discuss.kotlinlang.org/t/initialize-sqlite-database/24015 "2022-01-23T13:09:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![domip7](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@domip7](https://discuss.kotlinlang.org/u/domip7)\
**Post date:** [January 23, 2022, 1:09pm UTC](https://discuss.kotlinlang.org/t/initialize-sqlite-database/24015/1 "2022-01-23T13:09:03Z")

</div>

Hello all!

I created a database with the SQLiteOpenHelper. In the onCreate()-method i Created the Table.  
I wanted the table to start with some values, thats why i read that i can Insert the values on creation. But if i have multiple values, do i always have to wirte?:

```auto
        val insertinto = ("INSERT INTO " + TABLE_REZ + "("
                + REZ_ID + "," + REZ_NAME + ") VALUES ( 21,'ABC','123')")
        db.execSQL(insertTableZutaten)

```

And this Statements multiple times for every row i want to insert, or is there some more effizient way to do it? Like INSERT INTO with multiple values?

Kind regads  
DomiPusti
