 | A community of more than 1,600,000 database professionals and growing |
| Featured ContentsFeatured Script |
| Email or Username Quite a few of us will work with application databases where we need to identify a particular user for working with the various parts of the application. I'm not talking about the authentication and verification of identity, but just having a token to identify a user once they've been authenticated. I don't want to talk security here since most of you aren't great at building these systems and should just implement an authentication scheme that's been vetted (OAuth, Live, etc). However, once you get a way of authenticating a user, how do you identify them in the database? Many people store a username, but there are issues with these. They aren't consistent across systems, a user might find theirs taken in one application, and then needs a second one for the next application. This leads to the complexity of people needing a way to retrieve their username, which can be a whole separate set of application programming pain. Often the default is to move back to an email associated with the username. However what does someone do when they don't have access to that email? Therein lies the issue with using email as an authentication mechanism. I use my sqlservercentral.com email for many things, most of them related to this site. However, if I were to ever leave this job, then I wouldn't be able to access some sites if I couldn't remember the login information. Perhaps I shouldn't be using this email, but there are some services that are related to both my career as a DBA/developer as well as my position here at SQLServerCentral. Plenty of people have a separate email for personal use, but not necessarily many users of a generic application. There are plenty of people using their work email for registration at sites, assuming they'll always have access to the application through a username of some sort. You might even change your email, deciding at some point that coolteenager@hotmail.com isn't the one you want to give out for your kid's school registration. In that case, if you've used that email at a variety of places, then what can you do? PASS recently changed to using email instead of username, which is fine. I think more sites use email, but in our case, as DBAs and developers, are emails less likely to change? Should we be sure that our PASS email is always a non-corporate email so that we can keep membership as we change employers? I'd think username is more stable for people in technology, and it can be fun. I love my way0utwest moniker, and try to ensure I reserve it on many applications I may want to use. There's no good answer here, and there are issues with using either one as an identifier, but what do you think? Are there compelling reasons to choose one over the other? No matter which one you use, I think the need to have multiple ways for users to gain access to their account is important. 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.5MB) 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 |  | SQL Prompt v7 now supports Visual Studio 2015 as well as SSMS 2016 It also lets you create your own placeholders in snippets, open an actions list when you select text in a query, use different tab colors, and find more invalid objects. Find out how. |
|  | Database Migrations: Modifying Existing Databases If you are deploying changes to a heavily-used OLTP system on which an organization depends, then you need to understand, and be familiar with, the issues that can effect a database migration. In this article, Matthew Skelton explains the basic approaches. Read now. |
|  | Continuous integration and automated deployment for SQL Server databases DLM Automation plugs into the build and release management tools you use for application development so that you can also set up continuous delivery for your databases. Download a free trial. |
|
|
|
| |  | Steve Jones from SQLServerCentral.com Learn about the permissions associated with Dynamic Data Masking as well as some of the security implications of using this feature. More » |
 | Press Release from Redgate Every day, out in the various online forums devoted to SQL Server, and on Twitter, the same types of questions come up repeatedly: Why is this query running slowly? Why is SQL Server ignoring my index? Why does this query run quickly sometimes and slowly at others? My response is the same in each case: have you looked at the execution plan? More » |
 | Additional Articles from MSSQLTips.com With PowerShell playing a more important role in administration of various types of servers, more SQL Server DBA candidates should have PowerShell knowledge and skills. In this article, Jeffrey Yao lists some common SQL Server DBA tasks that may be completed easier with PS than T-SQL. More » |
 | Tim Mitchell from SQLServerCentral Blogs Recently I’ve been talking a lot with clients and others about the involvement of cloud architecture in a data warehouse... More » |
 | pturley from SQLServerCentral Blogs I’m thrilled to have been selected to deliver a session at the 2016 PASS Global Summit titled “Reporting Services 2016:... More » |
|
|
| | Today's Question (by Steve Jones): I have enabled the Stretch Database feature for my sales database. However, I have a variety of datatypes in the tables used for tracking customers. Which of these datatypes is not allowed for tables that I'd like to stretch to Azure? (choose 3) |
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: Stretch Database. We'd love to give you credit for your own question and answer. To submit a QOTD, simply log in to the Contribution Center. |
|
|
| |
| Yesterday's Question of the Day |
| Yesterday's Question (by Ben Kubicek): When doing a backup of a database, what does the Copy-only Backup option do? Answer: The backup will not affect how later backups are restored. Explanation: A copy-only backup is a SQL Server backup that is independent of the sequence of conventional SQL Server backups. Usually, taking a backup changes the database and affects how later backups are restored. However, occasionally, it is useful to take a backup for a special purpose without affecting the overall backup and restore procedures for the database. Copy-only backups serve this purpose. Ref: https://msdn.microsoft.com/en-us/library/ms191495.aspx
» Discuss this question and answer on the forums |
|
|
| | Tennery Press from SQLServerCentral.com columns in the index. If the column is sorted ascending you will see a (+) next to the column name and if it is descending you will see a (-). If it is an include column then (inc) is included with the column name. There is a limit of 10 columns in the script. Modify the script to add more columns if needed. 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. Can we just lock the schema rather a DB? - Hello - we do lock the DB during the processing to avoid any processing glitches. And, I am wondering if we... How can I configure SQL server Replication - I need to configure sql server peer to peer replication between local computer and remote server. I can't do it.... Reduce Log Database - Dear good day , I have a database of Dynamics NAV , this overgrown in the week do a FULL, every day... SQLCMD 2014 using NTLM instead of Kerberos - We are having an issue on multiple servers where running the below command using the 2014 version of sqlcmd.exe returns... problem converting date on procedure. - hello, i have have a procedure that receives a date and a name and takes data from a table, but when... distribute available quantity between stores - i have this table with this data [code="vb"] ID Store SKU AvailableQty ReceivingStore QtyDemand Transferred 1 ST1 100 20 ST2 14 14 ... Merge statement with conditions - Hello, I am trying to merge a temp table (@TempTable) into a table(@MasterTable). I have 6 fields I need to compare... Reseed Max value - Hi, I have created a Int column with Identity It has almost reached max size of Int. i need to again start from... Issue with query - Hi Folks, I am trying to execute this query in a job and I am getting an error Arithmetic overflow error... rows to columns - Hi Friends, I am trying pivot the rows but I am struggling to get the query. Here is the sample... Return string between 2 characters from the end of the string - I have data in a field that looks like this: 'INV CRT IS15000467 1', 'INV CSH 144934 1', 'INV CSH... Reporting Services - Passing Parm String to Stored Procedure ? - I am a R.S. noobie. Another guy here develops in it a bit, so we need "RS for Dummies " help. We... Convert multiple rows to columns Dynamically - I need to convert my data set from multiple rows to columns and sum by multiple fields. Below is sample... Update 1 of 3 tables based on parameter - Hello, I am trying to dynamically update a table (as much as possible) based on a parameter. However, because I'm trying... Generate n random int subsets - Howdy SSC, I'm trying to generate some realistic test data to do some load testing. The app I'm testing takes a... Need algorithm for Complex looping logic - Dear All, Hope all are good. I am Sql developer but i was in support ,now in developement, i am... Matching 2 separate UNPIVOT statements with Null Values - Hello and thank you for reading. I have multiple steps in a process, each with a Followup Date (anything _F) and... Interview Questions - Hi Today i am facing one interview Questions I have following folder structure(like string path) 1) c:\Programmefiles\Dicument\file1.txt 2) c:\Programmefiles\Dicument\Subdocument\file1.txt 3) c:\Programmefiles\Dicument\Image\file1.txt 4) c:\Programmefiles\Dicument\Text\file1.txt I want to... UNION with CASE statement - Hi Experts, I am getting error in running this query, It has to do with data type conflict. But I am... SQL Agent Job History Retention - On Sql server 2005 & 2008, we are getting only like 4-5 days worth for Job History Retention. But we need like... |
|
| This email has been sent to newsletter@newslettercollector.com. 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 ©2015 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: webmaster@sqlservercentral.com |
|
|