SQL Statement COALESCE displays NULL
SQL Server 2008SQL StatementSELECT [IP_ADDR1_TEXT], COALESCE(COUNT(distinct [IP_ADDR1_TEXT]),0) as Instances FROM sem_computer LEFT JOIN [dbo].[V_SEM_COMPUTER] ON sem_computer.COMPUTER_ID =...
View ArticleUpgrading from SQL server 2005 to 2008 and get an error message
I am halfway through the process and get this error message "Use the Reporting Services Configuration tool to configure the database source name (DSN) and connect to the database." on the Reporting...
View Articlesql server 2008 alias name calculations
Friends..I am not able to minus total from demand...Please correct me where i am making wrong in the below query..select demand=case when a.graduatetype='F' then (count(s.rollnumber)*12500) else 0...
View ArticleDreamSpark Standard/Premium CAL licensing question
Hi to all,Sorry in advance for not technical question, but I was redirected here from DreamSpark Support which wasn't able to answer my question. Since there is no forum which suits my problem best, I...
View Articlesql server 2008 r2 install registry key error during installation
My sql server 2008 R2 installation fails with the following error.Could not write value to key/SOFTWARE. Verify that you have sufficient access to that key, or contact your support personnel.How can...
View ArticleProblems dealing with Boolean data types(SQL).
Greetings.Below is an sql code i am trying to execute.select Band, Memb_contact =CASE when contact_person >= 0 then 'Yes'else 'No' end, Club_Name, Club_contactfrom Members, Clubwhere contact_person...
View ArticleSql server 2008 developer installation completed with failures
trying to in stall sql server 2008 developer but installation completes with failures. I get Error reading from file...
View Articlehelp! Trying to move my software to new computer: don't see Sql server 2005...
I spent months developing website back in 2010 on my XP. I have new computer running Wind. 7 prof. 64 bit.I have Visual Studio 2008 Profession edition which came with SQL Server 2005 Developer...
View ArticleSSMS Debugging error - Cannot execute script.
SQL 2008 R2 - Trying to debug a simple script and get the following error. TITLE: Microsoft SQL Server Management Studio ------------------------------Cannot execute...
View ArticleCannot find SQL Server 2008 instance
I have installed SQL server 2008 Developer edition on my laptop. When I open SSMS I cannot find the installed instance under the Server Name group and When I choose the Browse More option and go to...
View Articleselect record based on condition in sql
Hello all, i have the following data in table ID event 1xmas 1promo 2xmas 2promo 2promo 3xmas requirement is 1) if ID with event has one xmas and one promo we have to ignore that records2) if ID...
View ArticleUnderstanding how to solve an SQL error
If any one has an idea of how to solve an error like this,kindly tell me what to do.Please.Msg 8120, Level 16, State 1, Line 1 Column 'Members.Memb_contact' is invalid in the select list because it is...
View ArticleWARNING: Could not obtain SQL Server Service information ...
I’m using Microsoft SQL Server 2014 Management Studio. I tries to connect with Start Powershell from the menu i get from some servers ”WARNING: Could not obtain SQL Server Service information. An...
View ArticleWhat easy to use (MS or third party) tool can I use to create and host a...
I'm looking for a (MS or third party) tool with which I can create, publish and host webservice API's on a custom SQL database. For example a API which presents all customers, or validates a user...
View ArticleSnapshot Replication of MOM database
When configuring snapshot replication of the OnePoint database used by MOM i am having the following error being reported in SQL Replication Monitor:Command attempted:CREATE TABLE...
View ArticleCompare parameter to table value, and either continue or stop procedure
I am creating a stored procedure that generates a different output depending on an @Country parameter. In one of the tables that I am using there is an ID field that is a 3 digit number, this 3 digit...
View ArticleWhen to use T-SQL over SQL when there are more joins ?
Hi,I have to prepare a Stored procedure which will have atleast 10 joins and may return a large result set (probably more than 50 thousand records or even more ) which may cause performance issues. Is...
View ArticleParsing "," in CSV file using select command.
How to handle comma "," in an sql Select Query, Supposing that i have huge chunk of message that contains different special characters like "," double quotes, [] etc etc. when im exporting this message...
View ArticleHourly differential backups are too big
Hello,Please let me first apologize if this isn't the correct forum.I'm having a problem that, for the life of me, I can't seem to resolve. To begin with, I'm using MSSQL Server 2012.I created a new...
View Articlechoose a data source after installing sql server 2014
I install sql server 2014. Which data source should i select here.I want to write Sql Server Local and Server application
View Article