{"id":1747,"date":"2013-06-13T05:08:51","date_gmt":"2013-06-12T19:08:51","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1747"},"modified":"2013-06-13T05:08:51","modified_gmt":"2013-06-12T19:08:51","slug":"sql-server-csv-import-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/sql-server-csv-import-primer-tutorial\/","title":{"rendered":"SQL Server CSV Import Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/SQLServer2008\/CSVImport\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"SQL Server CSV Import Primer Tutoriales\" src=\"http:\/\/www.rjmprogramming.com.au\/SQLServer2008\/CSVImport\/CSV_Primer-27of.JPG\" title=\"SQL Server CSV Import Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">SQL Server CSV Import Primer Tutorial<\/p><\/div>\n<p>Welcome to the SQL Server CSV Import Primer Tutorial.<\/p>\n<blockquote><p>Microsoft SQL Server is a relational database management system developed by Microsoft. As a database, it is a software product whose primary function is to store and retrieve data as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). There are at least a dozen different editions of Microsoft SQL Server aimed at different audiences and for different workloads (ranging from small applications that store and retrieve data on the same computer, to millions of users and computers that access huge amounts of data from the Internet at the same time). Its primary query languages are T-SQL and ANSI SQL.<\/p><\/blockquote>\n<p>There is no doubt that SQL Server is a great database to use and that T-SQL is an excellent tool to learn and use in conjunction with the Visual Studio suite of Visual C++,C#,VB.Net and ASP.Net products, where its integration is brilliant.   The integration is improved even more when you make use of Microsoft SQL Server Import and Export Data (32-bit) functionality, as this tutorial does, when we go through (the pretty easy) motions of importing CSV (comma separated data) data into a SQL Server database.<\/p>\n<p>The CSV data used is from <a target=_blank title='GeoLite Free Downloadable Databases' href='http:\/\/dev.maxmind.com\/geoip\/legacy\/geolite'>GeoLite Free Downloadable Databases<\/a> for whom I give thanks, because, as we all know, interesting data is <a target=_blank title='Very ...' href='https:\/\/www.youtube.com\/watch?v=krD4hdGvGHM'>INTERESTING!!<\/a><\/p>\n<p>In the primer tutorial you can see  <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/SQLServer2008\/CSVImport\/'>Microsoft SQL Server Import and Export Data (32-bit) and Microsoft SQL Server Management Studio<\/a> 2008 R2 after a successful install, importing CSV data into the SQL Server database.    Installs of SQL Server can result from a variety of paths, including during installs of Visual Studio (Express) .<\/p>\n<p>Link to SQL Server more information &#8230; <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Microsoft_SQL_Server' title='Link to SQL Server more information'>via Wikipedia, from where quote above came<\/a>.<\/p>\n<blockquote><p>A comma-separated values (CSV) (also sometimes also called character-separated values, because the separator character does not have to be a comma) file stores tabular data (numbers and text) in plain-text form. Plain text means that the file is a sequence of characters, with no data that has to be interpreted instead, as binary numbers. A CSV file consists of any number of records, separated by line breaks of some kind; each record consists of fields, separated by some other character or string, most commonly a literal comma or tab. Usually, all records have an identical sequence of fields.<\/p>\n<p>A general standard for the CSV file format does not exist, but it is described in RFC 4180 fundamentally. Also the used character encoding is not specified but 7-Bit-ASCII is used as the lowest common denominator.<\/p><\/blockquote>\n<p>Link to Comma Separated Values (CSV) more information &#8230; <a target=_blank href='http:\/\/en.wikipedia.org\/wiki\/Comma-separated_values' title='Link to CSV more information'>via Wikipedia, from where quote above came<\/a>.<\/p>\n<p>Link to SQL Server &#8220;spiritual home&#8221; &#8230; <a target=_blank href='http:\/\/www.microsoft.com\/en-us\/sqlserver\/product-info.aspx' title='As the foundation of the cloud-ready information platform, SQL Server 2012 will help organizations unlock breakthrough insights across the organization as well as quickly build solutions and extend data across on-premises and public cloud backed by mission critical confidence. '>via Microsoft, includes talk about (the recent) SQL Server 2012, and about download options<\/a>.<br \/>\nLink to SQL Server jobs done &#8230; <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/MS-SQL\/' title='Examples of use of SQL Server'>SQL Server jobs done<\/a> &#8230; some of personal experience.<\/p>\n<p>This product includes GeoLite data created by MaxMind, available from<br \/>\n  <a target=_blank href=\"http:\/\/www.maxmind.com\">http:\/\/www.maxmind.com<\/a>.\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1747' onclick='var dv=document.getElementById(\"d1747\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=64#content\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1747' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to the SQL Server CSV Import Primer Tutorial. Microsoft SQL Server is a relational database management system developed by Microsoft. As a database, it is a software product whose primary function is to store and retrieve data as requested &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/sql-server-csv-import-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9,12,37],"tags":[283,292,299,602,819,1186,1187,1237,1319],"class_list":["post-1747","post","type-post","status-publish","format-standard","hentry","category-data-integration","category-database","category-elearning","category-tutorials","tag-csv","tag-data-integration-2","tag-database-2","tag-import","tag-ms-sql","tag-sql","tag-sql-server","tag-t-sql","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1747"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=1747"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1747\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=1747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=1747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=1747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}