How to add a comment on column and table
I would like to have a comment for each column, I know this is possible in oracle we can have comment for each column.can I have the same in SQL Server, can you provide me a simple example.I created a...
View ArticleBest Practice for Distributing Databases to Customers
I did a little searching and was surprised to not find a best practice document for how to distribute Microsoft SQL Databases. With other database formats, it's common to distribute them as scripts. It...
View ArticleDisable prevent saving
I want to make some changes to a table previously created ie adding new columns or deleting a column but it does not workdue to prevent saving error messagehow can i disable prevent changes
View ArticleExecute without refresh
can i execute a query without refresh?I try create database sample1and execute it but sample1 does not appear without refreshing the databases?
View ArticleSQL 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 ArticleSQL 2012 SPLA (CAL) Per User license - who is considered a user?
Hi, for the SQL 2012 SPLA (CAL) Per User license - who is considered a user?Let me give you an example below:Server is running a website (lets call it testsiteabc.com), for database, server has MS SQL...
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 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 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 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 Article