Quantcast
Channel: ฟอรัม Getting started with SQL Server
Browsing all 8428 articles
Browse latest View live

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


How to give view access to a column in a table

I have a view with 100 columns. I want certain users to have access only to 10 columns. I was able to do this without any issues, but when they connect and expand the view they could still see all the...

View Article


Image may be NSFW.
Clik here to view.

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 Article

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

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


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

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

SQL 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 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


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

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


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