| A community of more than 1,600,000 database professionals and growing |
| | Machine Learning Challenges If you know someone well, you may think that you can predict what they'll do in a situation. Those that know me might think that if I go to New York, I'll make time to run in Central Park. That's a good bet, and the last 7 or 8 times I've gone there to speak, that's what I've done. However, that's a very small data set, and you might not want to attach a high level of confidence to that prediction. There are certainly times that I've gone to New York and not run in Central Park. Machine Learning (ML) is a field that tries to make predictions about some data, based on previous known actions or results. By inferring relationships between lots of data and known actions, the ML model can guess what might happen with future data inputs. Lots of companies and fields are experimenting with ML techniques, with some of them working quite well. Others aren't faring as well, and there is a lot of research underway to better understand the entire field. One possible explanation is emergence, which is discussed in this piece. If it's raining, I likely won't run. If it's 20F, but dry, I will. Those that know me would inherently consider the type of weather as a new factor that has a high level of predictability for me. Time in the city, location, whether my family is with me, these are all other factors that would come into play. With enough data, and enough factors, you could likely come up with a model that predicted the likelihood of me running in Central Park when I visit New York City. It might not be perfect, but it would be good if you had enough data. However, that's a very simple item, and few decision points. Would that work for a larger data set? I bet it would. If we were able to collect data from lots of 5k events, we could perhaps predict how many people would register show up. There are certainly more factors at play, and since we can't control things like weather, the prediction might not be that valuable. Though if we could change the amount of resources the day of the event, maybe that would help reduce costs or make the event more successful. I think ML is a valuable tool that can help with quite a few problems, but in many cases, we just don't know enough about the complex factors, such as emergence, that might impact us. I know our SQL Saturday organizers would love a model that helped them decide how much food or drinks to order for an event. My view is that there are likely too many unusual factors, but I wonder if we could start a data gathering project to come up with a model. Perhaps we should gather marketing metrics, registration metrics, and more, with the intention to predict the number of no-shows. Even if it wasn't useful, it might be a fun project for people in this industry. Steve Jones from SQLServerCentral.comJoin the debate, and respond to today's editorial on the forums |
| The Voice of the DBA Podcast Listen to the MP3 Audio ( 3.6MB) podcast or subscribe to the feed at iTunes and Libsyn. 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 | | How to track every change to your SQL Server database See who’s changing your database, alongside affected objects, date, time, and reason for the change with SQL Source Control. Get a full change history in your source control system. Learn more |
| | NEW SQL Provision: Create, protect, & manage SQL Server database copies for compliant DevOps Create and manage database copies effortless and keeps compliance central to the process. With SQL Provisions virtual cloning technology, databases can be created in seconds using just MB of storage, enabling business to move faster. Sensitive data can be anonymized or replaced with realistic data to ensure data is protected as it moves between environments. Download your free trial |
|
|
|
| | | Kenneth Fisher from SQLServerCentral.com Corruption of the system databases is a serious matter. Setup.exe is a brute force method of replacing them. More » |
| Additional Articles from SimpleTalk With Amazon RDS, it’s easy to have a SQL Server running in minutes. There are some limitations, though. Seth Delconte explains a workaround to overcome one of the limitations: the inability to restore a second copy of a database to recover missing data. More » |
| A well-established technique for improving application code quality, during software development, is to run unit tests, in conjunction with a code coverage tool. The aim is not only to test that your software components behave as you would expect, but also that your suite of tests gives your code a thorough workout. More » |
| Jason Brimhall from SQLServerCentral Blogs SQL Server comes with a default SQL agent job installed (for most installations) to help manage the collection of system... More » |
| Devin Knight from SQLServerCentral Blogs In this module you will learn how to use the Hierarchy Chart. The Hierarchy Chart displays hierarchical data in a... More » |
|
|
| | Today's Question (by Steve Jones): The setup files for SQL Server are shared across instances on the same host how? |
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: Installation. 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 | Protect your data from attack by using SQL Server technologies to implement a defense-in-depth strategy, performing threat analysis, and encrypting sensitive data as a last line of defense against compromise. The multi-layered approach in this book helps ensure that a single breach doesn't lead to loss or compromise of your data that is confidential and important to the business. Get your copy from Amazon today. | | |
|
|
|
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Raghavender Chavva): What happens if we pause the SQL Server services? Answer: SQL will work as usual but prevents new users from connecting to the Database Engine Explanation: Pausing the Database Engine service prevents new users from connecting to the Database Engine, but users who are already connected can continue to work until their connections are broken. Use pause when you want to wait for users to complete work before you stop the service. This enables them to complete transactions that are in progress. Ref: click here » Discuss this question and answer on the forums |
|
|
| | Raghavender Chavva from SQLServerCentral.com Some months ago when I was working on upgrade project I got a request from application team to provide the table and column names which are containing email ids. This request is because, we have copied one of the production database to SIT environment and application’s one of the functionalities is to send emails users by fetching the emails ids from the tables. As we are working in SIT environment there might be chance of sending false alerts to users. So we need to update those tables with our team members mail ids. But the challenge was we have thousands of tables and not sure what are all the tables has the email ids and from column names also we didn't get the hint. Manually checking each table is like very huge time taking. So I prepared below script which fetches the tables name and column name from INFORMATION_SCHEMA.COLUMNS and sysobjects where the email ids are stored. Person should have DB Owner previlages on the database and Run this script on the specific database only. More » |
|
|
| Database Pros Who Need Your Help |
| Here's a few of the new posts today on the forums. To see more, visit the forums. Select MAX, Update Function - I have a table that looks like this Batch ID | Batch Number | Batch Description | Archive 1 | MASTER | COLOR RED | 2 | 0001 | COLOR... Removing stored procedures to move to cloud - I got an interesting email today about cutting back on the reliance of the applications on databases and plans to... Undocumented stored procedures - Hello fellows, I'm trying to build a couple of scripts for day 2 day dba tasks and i have been wondering... Shrinking Transnational Log File - Hi All, I have posted similar question here 7 or 8 years ago. Now I am unable to find that post.... SQL Server Hardening questions - security catalog views - Dear Everyone I was asked by the CISO to perform the following task: 1. Deny access to security catalog views to... SQL Server 2016 on Windows Server 2016 Core - Error Accessing Configuration Manager - Hi, Background: Windows Server 2016 Core SQL Server 2016 Enterprise (obviously 64-bit) Windows Failover Cluster SQL Failover Cluster I am attempting to connect to SQL Server... SSIS : How to pass the value of two arrays into a variable - Dear All, I have a code (script task inside SSIS) that reads a csv file and gets only the necessary columns and recods... Special characters - I want to query and return records with special chars except the ones stated in the Where Clause. I tried... Compute date column if other date columns not null ? - Hi, I am a part time amateur programmer, and really need some help. I have 5 date columns: DateComplete, Date1,... Admin rights - Good day, i am a new DBA at work and i discovered that all 6 BI Developers has sysadmin rights... Can we do Parse JSON file in SQL server 2014 version? - Hello, I need a help from you. Could you please confirm is it possible to parse JSON file in SQL server... How can I insert in a single table from different SQL Servers - I am trying to create MSX ans TSX relationship MSX is SQL1 TSX is SQL2 and SQL3 created a job in SQL1 that will... Complex Windowed Sum - New Requirement - Greetings, Your assistance is kindly requested for the following problem Description : A series of transactions issuing (I) or redeeming (R) bonds. A customer... How to replace certain part of a string ? - Declare @str as varchar(1000), @st varchar(8), @ed VARCHAR(8), @EarliestPrescriptionDt varchar(8) Select @str = '<20170101><20171231><20170101>XPPXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX SQL SERVER PEFORMANCE ISSUE - I am importing (transferring) records from one server to another server : TABLE A (SERVER 1) -> TABLE B (SERVER 2)... Syntax error - CREATE PROCEDURE . AS SET NOCOUNT ON BEGIN BEGIN TRY DECLARE @First_Partition_No INT = 1; DECLARE @Last_Partition_No INT = 31; DECLARE @Date INT = DATEPART(day, GETDATE()); DECLARE @Counter INT = 0; DECLARE @BackupDays... Need to migrate a databases from DB2 to SQL server - Hi, Need a help in Migrating a database of 100 GB from DB2 to Sql server. Client would extract the data from... String size causing error - I get the following error with the following code. This code is stripped from a larger piece of code to... I need to "group" two rows of data, but cannot seem to figure it out - my table is simple it has 1,000's of rows. one row is the account balance in USD, and the other row (and they are... Failure sending mail: Failure sending mail. - I'm running into a strange problem. My ssrs subscription are working except for one report which was previously working. The report is... |
|
| This email has been sent to [email protected]. To be removed from this list, please click here. If you have any problems leaving the list, please contact the [email protected]. | 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: [email protected] |
|
|