Which is the best book for SQL server 2008 R2 DBA?
Hello Everyone,Can anybody suggest some good books for the following?1) SQL server 2008 R2 DBA beginners?2) SQL Server Data warehousingI was in sql development field.So i know all the commands etc. I...
View ArticleCannot backup a SQL Server 2014 database to a machine running SQL Server 2012
Please help,I upgraded one of my servers to SQL Server 2014. I cannot restore a database from this machine to a machine running SQL Server 2012. I get: "The database was backed up on a server running...
View ArticleCreate a table in SQL with datatype equivalent to LongBlob
I have a mySQL or phpMyadmin table (nor sure) (with longblob fields) that I want to convert to SQL Server.Here is a link to a Rar with two files, the 'ORIGINAL CODE.sql' is the original code sample and...
View ArticlePerformance of Query Execution
Hi All,I am curious to know about how execution will happen for the below scenario and which one would be faster.Scenario: I have one table X having 50 columns and another table Y having 4 columns....
View ArticleSQL Server Licensing Options for Small Development Business
Hi, I am interested in setting up a small business selling SQL Server Add-ins, SSIS Custom Components (similar to the ones found here: http://ssisctc.codeplex.com/ ), and SSRS components online. I am...
View Articlelike and ||
I am writing query like select * from emp where dname = 'marketing'works fine but besise dname marketing I have marketing 2 and marketing3so I thought I can write select * from emp where dname...
View Articlesql server with a license for 2 cores on cpu with 8 cores
hi guys, how are you doing i have a question for the msdn expertscan we run an sql server 2012 with a license for 2 cores on a cpu of 8 cores (from a technical point and legal ) maybe by limiting the...
View ArticleInstalling SQL Server CALs
Hi all.Once I've purchased the number of SQL CALs I need, do I then need to install them on a server? Because I was under the impression that was so.And in general which CALs do I need to install? For...
View ArticleFlip words in a column
Looking for a way to flip the words in a same column.So , Michael Davis should become Davis, Michael.How can I achieve this in SQL Server.
View ArticleSQL Server, RAM Usage, Networking Admin
We have a VM Guest configured as follows: dedicated Sql 2008 Sp3 (x64) running on Windows 2008 R2 x64, 32GB RAM. Per Task Manager (if it is to be believed) the sql server process has allocated 20GB of...
View ArticleError: 5123 CREATE FILE encountered operating system error 5A(Access denied.)
HI , This is a problem I encountered when I had to detach a database file (type .mdf): 1) I went to the MS SQL Management Server Studi and detached my database file successfully from a connection...
View Articleplease help
hi every one here i need to set display_volume to be null with in whole hour intervals where rule2 apllied in hourin below example only three intervals 07:20,07:25,07:30 is null i need to set from...
View ArticleMVA SQL Server Query Assessment question
Hi Guys I was doing a course on MVA, Querying Microsoft SQL Server Quick Start. This question came up in the assessment:True or False: You use the INTERSECT operator to combine results from two SELECT...
View ArticleTrigger to update from one table to another
Hi I have two related tables where tblStaff.ID = tblStaffBookings.StaffID. How can I set triggers in tblStaffBookings that everytime a new StaffID is inserted or deleted from tblStaffBookings then...
View ArticleSteps to migrate database backup location to another disk ?
As the database is getting bigger and bigger, the existing disk for backup runs out of space.We intend to replace it with another disk.Just would like to seek your advice1) Do we need to stop SQL...
View ArticleNeed help with CONVERT datetime
Hi,I'm running SQL Server 2008 and am writing a view, but I'm not getting the intended results. In my DB table, I have a datetime field that has the format of yyyy-mm-dd hh:mm:ss I need to convert...
View ArticleCan we install SQL server 2014 on Windows Server 2012 R2 Essentials DC?
Can we install SQL server 2014 on Windows Server 2012 R2 Essentials DC?There will be maximum 15 users on the domain. So the workload won't be that high. We plan to use a brand new server with Xeon. It...
View ArticleMSG 306 ERROR
I am getting a MSG 306 ERROR. I think it is because one field is 30 Characters and other field is TEXT. Just guessing. Here is the code, error message and DDL. Select SD.Sales_Order As [SO...
View Articlemsdb..sysjobhistory vs msdb..backupset
What is the difference between these 2? msdb.dbo.sysjobhistory vs msdb.dbo.backupsetThe reason I'm asking is because I have a weird situation here - only 1 day of backup history is insysjobhistory. I...
View ArticleSQL Server Management Studio 2012 freezes when adjusting options
I am using the following components with Windows 7: Microsoft SQL Server Management Studio11.0.3128.0 Microsoft Analysis Services Client Tools11.0.3128.0 Microsoft Data Access Components...
View Article