Search
 
SCRIPT & CODE EXAMPLE
 

SQL

import data from csv to sql server

BULK INSERT SchoolsTemp
    FROM 'C:CSVDataSchools.csv'
    WITH
    (
    FIRSTROW = 2,
    FIELDTERMINATOR = ',',  --CSV field delimiter
    ROWTERMINATOR = '
',   --Use to shift the control to next row
    ERRORFILE = 'C:CSVDATASchoolsErrorRows.csv',
    TABLOCK
    )
Comment

PREVIOUS NEXT
Code Example
Sql :: how to truncate foreign key constraint table 
Sql :: select last n rows mysql 
Sql :: mysql find duplicate rows multiple columns 
Sql :: sql server default port 
Sql :: sql left join 
Sql :: mysql remove unique key 
Sql :: sql values to array of objects 
Sql :: SQL SELECT DISTINCT Statement 
Sql :: mysql if statement 
Sql :: location of the log postgresql linux 
Sql :: sql order by two columns 
Sql :: oracle create package body 
Sql :: run docker container with database as rds metabase 
Sql :: add foreign key to existing table 
Sql :: POSTGRES INSERT INTO TABLE VALUE FROM OTHER TABLE 
Sql :: sql join 
Sql :: sql rename table 
Sql :: create table postgresql 
Sql :: sql view index 
Sql :: oracle sql unique 
Sql :: using distinct and count together in sql 
Sql :: 1422: Explicit or implicit commit is not allowed in stored function or trigger 
Sql :: mysql server not running 
Sql :: mssql describe stored procedure sqlcmd 
Sql :: SQL Server OPENQUERY WITH result SETS 
Sql :: dump multiple tables mysql 
Sql :: postgres full text search example 
Sql :: postgres stored procedure 
Sql :: not operator in sql 
Sql :: find all tables where column name exists oracle 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =