Newsletter Subject

Loading CSV Files Using Dynamic SQL (SQLServerCentral 9/18/2018)

From

sqlservercentral.com

Email Address

subscriptions@sqlservercentral.com

Sent On

Tue, Sep 18, 2018 05:53 AM

Email Preheader Text

A community of more than 1,600,000 database professionals and growing Featured Contents - - - - - Th

[SQLServerCentral - www.sqlservercentral.com]( A community of more than 1,600,000 database professionals and growing Featured Contents - [Loading CSV Files Using Dynamic SQL]( - [Gene Kim joins Redgate to discuss The 2018 Accelerate State of DevOps Report]( - [Azure SQL Database High Availability]( - [Calculating Quartiles with DAX and Power BI]( (From the SQLServerCentral Blogs) - [Are scalar functions really a bad thing?]( (From the SQLServerCentral Blogs) The Voice of the DBA Monitoring Costs I'm a believer in instrumentation and metrics being regularly gathered from your systems. Across the years I've built and bought monitoring software to use in various jobs, sometimes in layers where one piece of software uses data from another to provide insight about the way in which applications are performing. By gathering and analyzing this data, I can determine if more or less resources ought to be allocated to meet the demand. No matter how you choose to gather this information, there are costs associated with the effort. Early in the lifecycle of an application, many developers and DBAs might just check to determine if the a system is up. As time passes and dependency increases on the system, there are additional needs to understand more about the system, such as storage, processor usage, and more. SQL Server has certainly matured in this respect as well, with more and more DMVs being added over time to allow more instrumentation of the platform. One of the interesting things that happens when you monitor your systems is that there are various costs to your organization, some of them [hidden](. Certainly purchasing or building software has a cost, but what about the other costs involved? As I work for vendor that sells this software, I'm always amazed how customers view costs. Most understand there are hardware costs, though surprisingly, a few don't expect that. There are other costs, some of which are outlined in the article linked above. There are plenty of time costs, especially associated with learning and configuring the software. In fact, this can be a significant cost. Most customers fail to account for time, and regularly become frustrated as the instrumentation never seems to meet their needs. Either it hasn't been configured to meet your needs, or you haven't learned to use the system well. There are also some people that find the opposite, with monitoring visualizations becoming a time sink, where administrators get lost in the analysis of data and the variety of ways to examine the information available. It's not just administrators, as not shortage of executives have wanted real time visualizations of metrics on systems, sometimes just standing there watching the metrics rise and fall to gain confidence in how well their systems are functioning. There is another cost that many people often forget about as well. Any system that monitors another will impose a load to gather that data. That could be significant, especially if you haven't tuned your software. There will always be some load, and I think it's necessary to have information, but you ought to be sure the load isn't too significant. It's important we monitor our systems. I would never build that system again, but rather buy some piece of software because the process is cumbersome and there are lots of choices for software that someone has spent time building. I'd rather learn to use their application well and let it help me do my job. Steve Jones from [SQLServerCentral.com]( Join the debate, and [respond to today's editorial on the forums]( --------------------------------------------------------------- The Voice of the DBA Podcast Listen to the [MP3 Audio]( ( 4.8MB) podcast or subscribe to the feed at [iTunes]( and [Libsyn](. [feed]( The Voice of the DBA podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. ADVERTISEMENT [SQL Compare]( The industry standard for comparing and deploying SQL Server database schemas Trusted by 71% of Fortune 100 companies, SQL Compare is the fastest way to compare changes, and create and deploy error-free scripts in minutes. Plus you can easily find and fix errors caused by database differences. [Download your free trial]( [Database DevOps]( Continuous Delivery for SQL Server Databases Spend less time managing deployment pain and more time adding value. [Find out how with database DevOps]( Featured Contents  [] [Loading CSV Files Using Dynamic SQL]( Steven Tidwell from [SQLServerCentral.com]() In this article, we will see of a quick way to load CSV files from a directory on your computer.[More »](SQL/176839/) ---------------------------------------------------------------  [] [Gene Kim joins Redgate to discuss The 2018 Accelerate State of DevOps Report]( SQL Server Central editor Steve Jones is joined by acclaimed author and researcher Gene Kim to discuss the latest in all things DevOps.[More »]( ---------------------------------------------------------------  [] [Azure SQL Database High Availability]( Additional Articles from [Database Journal]() Site-wide or region-wide disasters, while undoubtedly more impactful, happen considerably less frequently than downtime resulting from scheduled maintenance events or isolated hardware and software faults. This article provides an overview of the high availability features of Azure SQL Database that mitigate risks affecting services within an individual Azure datacenter, rather than an entire Azure region.[More »]( ---------------------------------------------------------------  [] From the SQLServerCentral Blogs - [Calculating Quartiles with DAX and Power BI]( Dustin Ryan from [SQLServerCentral Blogs]( Like many of my blog posts, this post is inspired by some work I was doing with a customer who...[More »]( ---------------------------------------------------------------  [] From the SQLServerCentral Blogs - [Are scalar functions really a bad thing?]( Daniel Janik from [SQLServerCentral Blogs]( I’ve read a lot of things lately pointing to scalar functions as if they were the devil. In this blog...[More »]( Question of the Day Today's Question (by Steve Jones): I have this table. CREATE TABLE UserConfig ( UserConfigKey INT IDENTITY(1,1) NOT NULL CONSTRAINT UserConfigPK PRIMARY KEY , UserID INT , IsActive BIT SPARSE , IsSubscriber BIT SPARSE , DefaultQuantity INT SPARSE ) How do I add a column set to this table? Think you know the answer? [Click here](, and find out if you are right. --------------------------------------------------------------- We keep track of your score to give you bragging rights against your peers. This question is worth 1 point in this category: Column Sets. We'd love to give you credit for your own question and answer. To submit a QOTD, simply log in to the [Contribution Center](. ADVERTISEMENT [The Phoenix Project: A Novel about IT, DevOps, and Helping Your Business Win]( tag=redgatsof-20 linkCode=as2 camp=1789 creative=9325 creativeASIN=0988262592) The company's new IT initiative, code named Phoenix Project, is critical to the future of Parts Unlimited, but the project is massively over budget and very late. The CEO wants Bill to report directly to him and fix the mess in ninety days or else Bill's entire department will be outsourced. [Get your copy from Amazon today]( tag=redgatsof-20 linkCode=as2 camp=1789 creative=9325 creativeASIN=0988262592). tag=redgatsof-20 linkCode=as2 camp=1789 creative=9325 creativeASIN=0988262592 Yesterday's Question of the Day Yesterday's Question (by Steve Jones): What happens with this code? DECLARE @d DATETIMEOFFSET , @c VARCHAR(50) ; SELECT @d = '20180903 11:55:34 -7' ; SELECT @c = @d ; SELECT @c AS 'TheDate' ; Answer: A conversion error occurs Explanation: A conversion error occurs. This is the error: Msg 241, Level 16, State 1, Line 87 Conversion failed when converting date and/or time from character string. Ref: Ref: Implicit Conversions - [click here]( --------------------------------------------------------------- [» Discuss this question and answer on the forums]( Database Pros Who Need Your Help Here's a few of the new posts today on the forums. To see more, [visit the forums](. --------------------------------------------------------------- [SQL Server 2017]( : [SQL Server 2017 - Administration]( [Dissertation theme in MS SQL Server for a DBA]( - In this forum I want to ask a question like this. I know it does not actually touch problems in... --------------------------------------------------------------- [SQL Server 2017]( : [SQL Server 2017 - Development]( [Rewrite query]( - Hi, Is there another way of writing this query without first having to get the MAX date for an id and... --------------------------------------------------------------- [SQL Server 2016]( : [SQL Server 2016 - Administration]( [Cost Threshold For Parallelism - Your opinion]( - Hi, I'm not going to ask what its for or anything, I understand it and its whole history back to Nick's... --------------------------------------------------------------- [SQL Server 2016]( : [SQL Server 2016 - Development and T-SQL]( [Why such a big log size?]( - I have a datamart with one main fact table that is about 45Gbs of data and 9Gbs of index It contains... --------------------------------------------------------------- [SQL Server 2014]( : [Administration - SQL Server 2014]( [powershell to script alerts/operators]( - I am looking for powershell script to script out alters and operators, can someone help --------------------------------------------------------------- [SQL Server 2014]( : [Development - SQL Server 2014]( [Is there a better way to write a simple query?]( - This is pretty typical SQL Code for me: -- SET NOCOUNT ON added to prevent extra result sets from  -- interfering... [Dynamic "FOR XML PATH" in SQL 2014]( - I have seen several replies on the Net that it is not possible to have dynamic FOR XML PATH in... [View - failed because it contains a derived or constant field.]( - I have this View: Create View xyz As Select Value, MAX(Case When Other = 'Color' Then Description Else '' End) Color, MAX(Case When Other = 'Font' Then... --------------------------------------------------------------- [SQL Server 2012]( : [SQL 2012 - General]( [Slow running query - only off peak]( - [Unused Indexes]( - Dear Experts, I generated a list of unused indexes from my database by equating [Last Security Patch]( - Dear Experts, Can anybody help me know how to check what the last security patch was applied to our SQL Server... [Cannot drop user who is a Schema owner]( - Dear All, I'm currently trying to remove a user who is no lon --------------------------------------------------------------- [SQL Server 2012]( : [SQL Server 2012 - T-SQL]( [Filtering data based on dynamic date.]( - Create table #TEMP ( ID INT ) Create table #TEMP1 ( ID     INT, Letter_Type  VARCHAR(100), Letter_Sent_Date DATE ) INSERT INTO #TEMP VALUES (1),(2),(3),(4) GO INSERT INTO #TEMP1 VALUES (1,'A','01/01/2017'), (1,'B','01/0 [Multiple Join Behaviour]( - Hi guys, I've read 2 or 3 articles on Multiple Joins but I'm still failing to understand exactly what's happening... [Identifying NEW/RETAIN/LOST unique_id]( - Hello, I have a data set of unique_id by eomonth of everymonth since jul 2015 with a field aggregating whether a... --------------------------------------------------------------- [SQL Server 2008]( : [SQL Server 2008 - General]( [SQL replication subscription will expire in 4 hours]( - Hi, Our monitoring tool throwing below for SQL 2008 replication in lower environment. Currently replication looks healthy. But I want... [Query to find rows which has replacement character as part of a column string]( - Hi All, I have a column in my oracle SQL table where user will city name from the online application. But sometimes... [How do I write a record for each day in a date range???]( - Hi To make it simple I have a @StartDate and @EndDate I choose students with an admit date in that range from the... --------------------------------------------------------------- [SQLServerCentral.com]( : [Articles Requested]( [DBCC FREEPROCCACHE]( - Looking for a basic article on how to use this, especially why not to do this on prod, or any... --------------------------------------------------------------- [Career]( : [Events]( [The SQL Saturday Thread]( - As popular as SQL Saturday is, I'm surprised that nobody created a thread dedicated to SQL Saturday, so I created... This email has been sent to {EMAIL}. To be removed from this list, please click [here.]( If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. --------------------------------------------------------------- This newsletter was sent to you because you signed up at [SQLServerCentral.com](. Feel free to forward this to any colleagues that you think might be interested. If you have received this email from a colleague, you can register to receive it [here](. --------------------------------------------------------------- This transmission is ©2018 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: webmaster@sqlservercentral.com

EDM Keywords (208)

years writing write work well ways way watching want voice visit vendor variety user use undoubtedly understand tuned transmission today time think systems system surprised sure subscribe submit stumbled startdate standing sql sometimes someone software simple significant signed shortage sent sells see script score right respond respect removed remove relation register record received receive read range question project prod process post possible popular plenty piece performing people peers part parallelism overview outlined ought organization opposite operators novel nick newsletter new net needs need necessary monitor metrics mess meet matter massively make love lots lot looking load list lifecycle let learning learned layers latest late know joined itunes interested instrumentation inspired information index impose important id helping help happens going give get generated gathering gather future functioning forward forums forum font fix find feed fall fact expire expect executives examine especially eomonth enddate email editorial dynamic dmvs discuss directory devops devil determine derived demand debate dba day dax datamart database data customer cumbersome critical credit created create could costs cost copy contains configuring configured computer comparing company community column color colleagues colleague choose choices check built budget blog believer ask article applied applications anything answer another analyzing analysis always alters also allow allocated administrators added add account 9gbs 71 45gbs

Marketing emails from sqlservercentral.com

View More
Sent On

11/11/2024

Sent On

28/10/2024

Sent On

16/10/2024

Sent On

09/10/2024

Sent On

07/10/2024

Sent On

05/10/2024

Email Content Statistics

Subscribe Now

Subject Line Length

Data shows that subject lines with 6 to 10 words generated 21 percent higher open rate.

Subscribe Now

Average in this category

Subscribe Now

Number of Words

The more words in the content, the more time the user will need to spend reading. Get straight to the point with catchy short phrases and interesting photos and graphics.

Subscribe Now

Average in this category

Subscribe Now

Number of Images

More images or large images might cause the email to load slower. Aim for a balance of words and images.

Subscribe Now

Average in this category

Subscribe Now

Time to Read

Longer reading time requires more attention and patience from users. Aim for short phrases and catchy keywords.

Subscribe Now

Average in this category

Subscribe Now

Predicted open rate

Subscribe Now

Spam Score

Spam score is determined by a large number of checks performed on the content of the email. For the best delivery results, it is advised to lower your spam score as much as possible.

Subscribe Now

Flesch reading score

Flesch reading score measures how complex a text is. The lower the score, the more difficult the text is to read. The Flesch readability score uses the average length of your sentences (measured by the number of words) and the average number of syllables per word in an equation to calculate the reading ease. Text with a very high Flesch reading ease score (about 100) is straightforward and easy to read, with short sentences and no words of more than two syllables. Usually, a reading ease score of 60-70 is considered acceptable/normal for web copy.

Subscribe Now

Technologies

What powers this email? Every email we receive is parsed to determine the sending ESP and any additional email technologies used.

Subscribe Now

Email Size (not include images)

Font Used

No. Font Name
Subscribe Now

Copyright © 2019–2025 SimilarMail.