| A community of more than 1,600,000 database professionals and growing |
| | The Ideal IDE When I started working with SQL Server, I spent a lot of time in Query Analyzer and isql.exe. Those were my two main tools, using those to query a database instance in a lightweight manner. At some point Microsoft released Enterprise Manager, which was more useful for some tasks, but overall, I preferred Query Analyzer. Eventually that died away, and we got stuck with Management Studio, which most of us now use. Along the way, I also used DBArtisan, RapidSQL, and a few other IDEs for writing code against a SQL Server. These days we have a few choices for doing development and administration on the Microsoft data platform. There is still SSMS, but Visual Studio has gotten quite a few upgrades and extensions to allow work with everything from a local SQL Server to a cloud database to data lakes and more. Microsoft built a lightweight IDE in Visual Studio Code, and released a SQL Server extension for that tool. In the last year, we also saw a preview release of SQL Operations Studio (SOS) from Microsoft, and perhaps this is the direction that Microsoft is moving in the future. There are also other IDEs, such as DataGrip, that some people are using. I'm still stuck in the the SSMS mode. Even when I use Visual Studio for SQL Server work, with something like SQL Change Automation, I often switch back to SSMS for lots of my work. I've done some work in SOS, but I don't love the experience overall. Since I have SSMS running most of the time, the speed of SOS isn't helpful. If I were shutting down and restarting SSMS often, I might feel differently. Today I'm curious. I'm sure you all have preferences, but if you could choose only one IDE, what would it be? Let's imagine that we're not looking at the current state of the tools, but for whatever functionality you need, whether that's database development tools, AG management tools, scheduling tools, etc., all of the functionality would be added to VS, VSCode, SSMS, SOS, DataGrip, etc. In that case, what do you prefer? I think I'd lean towards keeping SSMS, though I wish it were more open and extensible. Since that's not likely to happen, I think SOS might be my next choice as an IDE if it has lots of extensions, and I have the ability to enable or disable them for the functionality I need. 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.7MB) 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 | | | What’s the top challenge faced by SQL Server professionals in 2018? Learn how 626 SQL Server professionals monitor their estates in our new report on the State of SQL Server Monitoring. Discover the challenges currently facing the industry, and what is coming next. Download your free copy of the report |
|
|
|
| | | Diogo Castro from SQLServerCentral.com In this article, we will see how to use the FOR XML statement in SQL Server to represent the result of queries in XML format. More » |
| Additional Articles from Database Journal In the world of paradigm shifts, many organizations are looking at the prospect of a technology migration, where capabilities are moved to a new set of technologies, supporting and enabling the business for the future. On other hand, a technology or platform may reach the end of its life for other business reasons, like ease of use, increased cost, etc. More » |
| Redgate wants your help to develop a product for SQL Server data classification that meets today’s compliance and DevOps needs. If you’re interested in taking part in research and providing feedback on new releases, please register for the early access program. More » |
| Devin Knight from SQLServerCentral Blogs In this module you will learn how to use the Small Multiple Line Chart. The Small Multiple Line Chart allows... More » |
| meaganl from SQLServerCentral Blogs Using layout images in Power BI has become a popular design trend. When I say layout images, I’m referring to... More » |
|
|
| | Today's Question (by Steve Jones): In SQL Server 2017, I have this table: CREATE TABLE OrderHeader ( OrderKey INT IDENTITY(1, 1) NOT NULL CONSTRAINT OrderHeaderPK PRIMARY KEY , OrderDate DATE , OrderTotal NUMERIC(10, 2) , CustomerKey INT ); I decide to insert some values with this code: INSERT dbo.OrderHeader ( OrderDate , OrderTotal , CustomerKey ) <***> VALUES ('2018-08-01', 500, 1), ('2018-08-02', 300, 2) What should I replace the <***> with to get the identity values returned to the calling application? |
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: output clause. 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 | Expert T-SQL Window Functions in SQL Server Expert T-SQL Window Functions in SQL Server takes you from any level of knowledge of windowing functions and turns you into an expert who can use these powerful functions to solve many T-SQL queries. Replace slow cursors and self-joins with queries that are easy to write and fantastically better performing, all through the magic of window functions. Get your copy from Amazon today. | | |
|
|
|
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Steve Jones): I create this trigger: CREATE TRIGGER StopAlter ON DATABASE FOR ALTER_TABLE AS ROLLBACK; Now I want to drop it. How do I do this? Answer: DROP TRIGGER StopAlter ON DATABASE; Explanation: If a DDL trigger is created on database actions, it needs to be dropped with the DROP TRIGGER <trigger name> ON DATABASE command. Ref: DROP TRIGGER - click here » Discuss this question and answer on the forums |
|
|
| | Luis Chiriff from SQLServerCentral.com So I was looking for a script that I wrote to sort tables by size years ago, it was 3am and I remember how fiddly it was in that old script where I had to change the script for the sort that I wanted to do. Because I couldn't find this script right away, I decided to write it from scratch. I also work with a lot of multi-schema databases and without cloning the sp_spaceused for schema output I decided to also add that info to the output. I tried making this really simple, I've tested this in 2008, 2012 & 2014 And I'm so glad I did, I decided to try out a sort concept I thought of that works quite well and all you need to change is just 1 character. 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. formatting T-SQL - Hi, I found one formatter online, but wanted to know if you use any tools to format the T-SQL code , before... SQL help with date comaprisons - Hi, I have a scenario where i need to calculate the number of days of hold on a loan . Example is... Initial load of data to table slow - First let me say I'm not a DBA. I'm looking for some suggestions from others who have ran into this... A Stairway series on Performance Tuning would be amazing! - Hi all I didn't know where to post this so just posting this here. I know it's a big topic with... Best way to SELECT with one Case Expression - I have three seperate tables that can be joined to eachother. For examples sake We'll call them three tables MainTableOne,... how to one-way encode sensitive data for display? - I'm working on a project where the source data (out of my control) uses social security numbers to uniquely identify... Entity Framework and SQL - Hi Experts, Our dev team is using Entity framework and now all the DB calls are written in code. Since there... trying to get this xml output structured right - Hi trying to get this xml output correct using xml explicit. I need them to group the links together based on... BCP Error - Hi All: I'm trying to import data using bcp however, my I keep getting the below message. I have checked the... Capture the required stored stored procedures to execute - Dear All, I'm trying to create a query which will recompile stored procedures which take longto execute and here is the... How to create a cartesian table? - Hello , I have this sample data: create table ##Test ( varchar (100), varchar (100), varchar... Enable Logging of both failed and successful logins on Linux - Anyone seen how you do this? On a Windows Environment you can just do this via the Server Properties Window,... Delete and shrink data file - Hi guys I just deleted a lot of rows in a table to gain more disk space . and did shrink... hashbytes - Hi , For the same 'hello' string why I am getting 3 different answers. Where am I wrong? Does anybody know the... Login failed for user 'xx'. Reason: Password did not match that for the login provided - Hi All, I have an issue which is in SQL Error log saying : “Login failed for user 'xx'. Reason: Password did... DATEPART WEEK start Monday - Hi, I'm doing this directly in a computed column: case when Standard Deviation (variance) using columns in same row. - Is there a way to get a variance from two columns in the same row? I have a row that... Is combining multiple SQL Server Database and Integration Services projects in one master solution a bad idea? - tl;dr: How do you organize your multiple SSDT projects that comprise a single solution? I've got a DW with these logical... database mail failing - hi i have database mail set up in my server with the same smtp configurations i have in other servers... Create a Dynamic Table using a cursor - Hi, I have a table that contains one column with nvarchar. Let's say this is the table: Reasons_T ----------- | Reason | ----------- | xxx | | yyy | | zzz... |
|
| 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 ©2018 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: webmaster@sqlservercentral.com |
|
|