Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 7129 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

case when vs exists in sql

 I have the following querySELECTtop10casewhenexists(SELECT t1.[Code Article]FROM[Promotion]where t1.datecol between[Date Debut Promo]and[Date Fin Promo])then1else0endas test1,Casewhen[Code...

View Article


Optimize query which took hours to be executed

How could optimize the following query :             SELECT                 CASE WHEN COUNT(distinct t1.[datecol]) = 0                         THEN 0                         ELSE SUM(convert(float,...

View Article


Event IDs

Dear all,I would like to learn what eventIDs get logged in Windows 2003. 2008, and 2012 when a SQL database goes offlineI am using SQL versions 2008. 2012, and 2014

View Article

Data Dump Instructions

How can I generate a data dump that can be saved to an external directory (ie USB drive) that can be opened in OBDC analysis software?

View Article

Exam 70-461 minimum score

Hi all of you, I don't know if I am writing to the suitable forum for that. AFAIK I though it was 700 or 70%I did a test getting 75% but as a result I get FAILED status. A picture worth a thousand...

View Article


Core licensing model with VM, and vCPU number changes

Lets say you have a VM with 4 vCPUS, which you had licensed with 2 2-pack licenses (so you have licensed all 4 cores).  What happens when you add 2 more vCPUS to the VM?  Do the SQL server processes...

View Article

How to start SQL server in windows 10

I recently upgraded to Windows 10. Prior to the upgrade, I had Windows 8. Sometimes the Microsoft SQL Server would stop running and I was able to find find the SQL server tools and start it running...

View Article

SQL server licensing

I come from a PHP background and mostly used MySQL during my career. MySQL in general terms are installed once per machine and has the option for unlimited users, databases.Over the past couple of...

View Article


Extended event session to capture store procedure calls and arguements passed

Hi all,<o:p></o:p>I have an application which generates certain reports while values are entered and generate button is clicked on an application.<o:p></o:p>I know to which...

View Article


Transaction log file is full. I am unable to run Backup Log command as there...

Good morning Experts,Transaction log file is full. I am unable to run Backup Log command as there is no space for that also. Please advise the best solution.Kiran

View Article

multiple instances of the same application with multiple, but separate users

I am a newbie and have written an application.  The application is complete, but I am not sure how I would go about(or is it possible) to have multiple users use the application, each using their own...

View Article

Extending SQL Server 2012 Evaluation License

Hi Team,I'm testing my system using an Evaluation copy of SQL server 2012 that is about to expire.How can i extend the evaluation period?You advise would be appreciated.Regards,Patrick

View Article

Differential backup and restore

I have a transaction source database and a target database.  I need to refresh the target database from the transaction db every hour. I also have some extra tables, views, functions and stored procs...

View Article


Sharepoint is generating SQLDmprxxx.log and SQLDmpr.mdmp files constantly

Help! The customer doesn't use SharePoint and suddenly the SharePoint instance of SQL is generating SQLDmprxxx.log and SQLDmpr.mdmp files constantly.  I had to stop the SQLServer (SharePoint) services...

View Article

Open TCP/UDP command to write a value in the SQL database.

Hi members,We would like to set-up an application, where sensor statuses from an industrial machine running in a production plant will be logged to an SQL server.The sensors are connected to an...

View Article


Anyone have a good doc or link to SQL Server Roles & Responsibilities?

Looking for a breakdown of roles (Prod DBA, App DBA, SQL Developer, etc.) and their associated responsibilities.Sorry if I did not post to the correct forum but I did not see a proper forum for said...

View Article

Default Instance Path

I have done something incredibly stupid!!! SQL Server 2014 with DB's on a JBoD. I copied the DATA folder only off the JBoD in preparation to reconfigure the drives! I SHOULD of copied the entire...

View Article


SQL Server 2012 Licensing Model requirement.

Hi , I've query in my licensing of SQL Server 2012. Following are my request. Virtual  Server-1     Virtual Server-2     Virtual Server-3     Virtual Server - 4       Virtual Server - 5 Core : 4...

View Article

A DB Marked as Suspect

We have a SQL 2014 DB marked as suspect in SQL Management Studio. I know this is an older article but would this process work on SQL...

View Article

Moving SQL DB Transaction Logs to Another Drive

SQL Server 2014 with 1 default instance in a failover cluster of 2 nodes. We finally got another drive for the SQL server and want to move the transaction logs to this drive. This is an older...

View Article
Browsing all 7129 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>