-
Notifications
You must be signed in to change notification settings - Fork 0
Invoke SQLiteFill
Marco van Gaal edited this page Aug 5, 2015
·
12 revisions
Invoke-SQLiteFill
Bulk insert <DataTable> to SQLite Table. WARNING: this will overwrite all Rows in table
-Connection <SQLiteConnection>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-InputObject <DataTable>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Whatif [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
None. You cannot pipe objects to Invoke-SQLiteFill.
Count of rows inserted to SQLite Table
Author: Proxx
Web: www.Proxx.nl
Date: 10-06-2015
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Invoke-SQLiteFill -conn <SQLiteConnection> -InputObject <DataTable> -Name <String>
Fills Table in SQLite (WARNING: this will overwrite all Rows in table)
-------------------------- EXAMPLE 2 --------------------------
PS C:\>Invoke-SQLiteFill -conn <SQLiteConnection> -InputObject <DataTable> -Name <String> -WhatIf
Creates SQLite transaction inserts rows and then rollsback the transaction