Do we need .NET Framework 3.5 for SQL Server 2016 Database Mail ?
Hi,We are setting up Database Mail for SQL Server 2016 but we don't receive Test Message.We have already installed the latest SP and Cumulative Update for SQL Server 2016. Just wonder whether we still...
View ArticleFind transaction that locks database
The last 5 Fridays my database is locked by an other process. Event Viewer entry:FCB::Open failed: Could not open file E:\...\xx.mdf for file number 1. OS error 32(The process cannot access the file...
View Articleupdate query
Hi All,I have data as below in table1 <summarytable> need to write select to get table 2 and then a select to get table 3 as belowthe column Meets if any of the values is Y for same mid then...
View ArticleMonthly Values Logic
Hi, I have a CASE statement of which doesn't quite work but not sure how to make it work. I have an account with the following criteriaLength - 4 monthsValue - £16000Monthly Payment £4000Payable Months...
View ArticleI have created a New Database in Visual Studio 2017 but I can't add a Table...
I have created a New Database in Visual Studio 2017 and now I am trying to add a Table to the Database. I right click on the Table item in the graphic and it gets me into a screen where I enter the...
View Articleupdate a single column'mobile number' in batch of 5000 (total record 30099)
Hi guysI need to update one column for approx. 31k record. I would like to do this in a batch of 5000. What is the best way of updating the record.I started like this, but not sure whether this will be...
View ArticleSQL Server Available Software to Install
Just wanted to know if when downloading the sqlserver software and installing on sever you want to license per core vs one per host holding the vm's is there a difference in software to download per...
View ArticleThe difference between ALNG and SNGL
Hi anyone,I would like to ask about SQL name.What is a difference between SQLSvrStd ALNG and SQLSvrStd SNGL?Thanks,tOm
View ArticleSorting Alpha Numeric and Numeric data
Hi,I have a varchar2 column in which data is present like :1a1b1c122a2d and so on ... i want it to be sorted like :1,1a,1b,2,2c,2d ........ 11,22,23,24d ...can any 1 help out if there is any way...
View Articlevs shell installation has failed 1638
I'm trying to install SQL Server 2017 but installation failed<g class="gr_ gr_118 gr-alert gr_gramm gr_inline_cards gr_run_anim Style replaceWithoutSep" data-gr-id="118" id="118">!Help</g>...
View Articlehelp setting up
im new to sql server. can someone please help me in setting it up. what do I use as a server name?
View Articlereturn list of numbers in case statement for where condition
HiI would like to run a query like this :select * from TABLEA where st in (case @StateOfEmpolyee when @StateOfEmpolyee in (17,41) then (41,17) else (13) end)but it throws syntax error.
View ArticleBest practice to install SQL Server
Hi all,We are going to have a SQL server where 6,7 database will be active always. So I wanted to know how many data drives will be needed to install the SQL, and what is the best practice to install....
View Articlelogical architecture and physical architecture of data files(.mdf)
Good Morning Experts,Could you please let me know the logical architecture and physical architecture of data files(.mdf)Kiran
View ArticleHow does the query optimizer gets the statistics information
Good Morning Experts,How does the query optimizer(in the relational engine) gets the statistics information that it needs to create execution plan?Kiran
View ArticleConverting a date string to date type
Hi,Can anyone please help. I am working on a reporting project using BirtThe issue I'm having now is on the sql server side in my query I have this query set DECLARE @JDate DATE SELECT...
View ArticleMost expensive sql queries with user
i am trying to get the list of most expensive queries with the users that is coming formkindly assist , i need to know the users names as well where the query is coming form.k
View ArticleProblem importing an Access Database
HiI'm trying to import an Access Database in an SQL one.I used SQL Server Management Studio.I created a new database then Tasks / Import Data / Microsoft Access / my file.mdbBut I got this error: The...
View ArticleUnable to take AWS RDS backup getting error
I am unable to take backup of DB OF RDS instanceGetting below error
View Articlewhen trying to add a replica during AG wizard I get a error- target principal...
when trying to add a replica during AG wizard I get a error- target principal name is incorrect. cannot generate SPPI context (MS SQL server).Looked at SPNs from attribute tab for each server objects...
View Article