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

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 Article


Upgrading 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 Article


sql 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 Article

DreamSpark 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 Article

sql 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 Article


Problems 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 Article

Sql 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 Article

help! 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 Article


SSMS 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 Article


Cannot 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 Article

select 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 Article

Understanding 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 Article

WARNING: 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 Article


What 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 Article

Snapshot 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 Article


Compare 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 Article

When 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 Article


Parsing "," 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 Article

Image may be NSFW.
Clik here to view.

Hourly 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 Article

Image may be NSFW.
Clik here to view.

choose 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
Browsing all 8979 articles
Browse latest View live


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