|
|
|
|
|
|
|
|
Question of the Day |
Today's question (by Steve Jones - SSC Editor): | |
WHILE in R | |
Is this a valid WHILE loop in the R language?
i <- 2 while (i<= 25) { print(paste0("Christmas Day ", i)) i <- i + 1 } | |
Think you know the answer? Click here, and find out if you are right. |
Yesterday's Question of the Day (by Steve Jones - SSC Editor) |
HA in General Purpose Managed Instance How is high availability handled in the General Purpose tier of Azure SQL Managed Instance in Nov 2020? Answer: Azure Blob Storage and Azure Service Fabric Explanation: The General Purpose tier uses Azure Blob Storage and Service Fabric. Ref:
|
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 - Administration |
alias SQL multisubnet failover = true - Good morning all , I have an always on instance to configure with a listener in mutlisubnet mode on the application side I am unable to add multisubnetfailover = true is it possible to create an sql alias with this parameter DESKTOP-95KKMMH\DISS; multisubnet failover = true thanks |
HA Availability Group Listener - I was looking for a specific definition for the Active Directory / DNS team as to what I need set up for an HA Group Listener; does it just need to be a DNS name, IP address, and Directory Object in AD? If so, what is the object called, a cluster object? I have the […] |
RegisterAllProvidersIP = 0 and timeout in failover - Good morning all , I have an alwayson instance with a multisubnet listener I configured RegisterAllProvidersIP = 0 in order to register a single DNS entry HostRecordTTL is configured at 1200 seconds I would like if with this configuration I will have timoeout during the failover if so how much time is needed for the […] |
SQL Server 2016 - Administration |
SQL server night cpu usage - Hi using MS SQL maintenance plan to update statistic with full scan. The plan running over 2 days but still running. Try to restart DB server but the job auto resume. How can I kill all statistic update or estimate the complete time ? |
Error connecting to sql using listener name only - Hello I've a problem when i try to connect to an instance with Always On When i use a domain account, i can connect using listener_name\instance name or only listener_name When i use a sql account, i can only connect using listener_name\instance_name but not using only listener_name (error 18456) Is there a solution to […] |
SQL permissions based on multiple AD Groups - Hi I'd like some input on the best way to handle setting permissions in SQL Server 2016 using 2 Active Directory Groups. I have 2 AD Groups - SQLDevs and SecurityCleared. I have created database roles for DEVS, CLEARED and DEV_CLEARED. I would like to apply permissions based on these Groups as follows... PublicSchema - […] |
Administration - SQL Server 2014 |
sp_refreshview on indexed views - Hi I have to increase the size of a field in a table. I've listed all the views that use this table so I can run sp_refreshview on these. I'm left with a couple of schema bound views that use the underlying table, but not the changed field otherwise it wouldn't have allowed me to […] |
SQL 2012 - General |
How to use While Loop to Insert Book details where status is not null? - I work on SQL SERVER 2012 . I face issue I can't use While loop to insert Books details that status is not NULL to table #BookHaveGeneralStatus . Meaning if any book have only one status not null on Books Details then insert it on table #BookHaveGeneralStatus using While loop . but if all Status […] |
Get Particular Date from a Month - I would like to get a Thursday in a month which is followed with 2nd Tuesday. If the output is greater than today, Then I need to show the last month Thursday which is followed with 2nd Tuesday. For Instance, CASE 1 - If Today is 30 Nov 2020 - 2nd Tue is 10 Nov […] |
Tlog migration - Hi Expert, In tlog migration, from 1 server to another where there is no connectivity I am doing following steps1 creating database replica on new server Running job's, user cript on new server In cutoverCoping the . Bak and log files from one server to another Creating ag group and assigning server to it Any […] |
Tempdb increasing crazily - These days, the Tempdb of my one's SQL server increases crazily, sometimes only abount 5 mintues the MDF file increases 70GB, but lof file of tempdb is not big(Maybe about 2-3GB), I have some questions regarding Tempdb, thanks! as shown in the picture, there are many temp table in the tempdb, normally, when the temp […] |
SQL Server 2019 - Development |
Find matched records between two tables - Hi, I haven't been able to find anywhere how to do or which transformation to use. I've seen Lookup but it only has one input, merge join but I could only get it to append... I'm using SSIS 2019 Community in VS with Windows 10. I've brought in two tables using flat file source nodes […] |
SQL Server 2008 - General |
sys.dm_os_performance_counters Resource Pool Stats returns zero - I am using SqlServer 2008 R2 Express edition. When i execute below query i will get all 0 . select * from sys.dm_os_performance_counters where object_name = 'SQLServer:Resource Pool Stats' By referring this Link - In express edition I can't use this query to get resource statistics. But is there any other method to get the […] |
SSRS 2016 |
Enabling date Input parameter to allow mmdd input but display as dd/mm/yyyy - Hi there I have an SSRS Report with various input parameters Now one of these is a date field which we want to format to mmdd format but as the user tabs out of it, it will then snap back into dd/mm/yyyy format. For example , 1130 would be entered by the user but then […] |
General |
Costing per database - Hi, I am just checking to see if anyone has ever did a costing per database (based on it size). I am trying to figure out what the cost is for a database throughout its lifecycle. I am looking for mow much disk space will each DB use, how much memory does it require, how […] |
| |
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. webmaster@sqlservercentral.com |