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

"Failed to retrieve data for this request" occurred when I tried to access a...

Hi,I installed the sql server 2008 Client on my pc, so that I can connect to a remote sql server 2008 Enterprise cluster.  Here is what happened:0. Added myself as a db_owner on the two databases in...

View Article


SQL Server 2012, Win7 Pro (all x64) 'Could not find database engine startup...

Hi there,I had SQL Server 2008 R2 installed, but needed to upgrade to 2012 (x64) Developer edition, in Win7 Pro x64. I uninstalled 2008 R2 rather than upgrade, more out of ignorance than intent. When I...

View Article


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

SQL DateRange Search

Hi,I have a table with the following structure Period Name | Start Date |  End Date ------------------------------------------ JAN             | 01/01/2013|31/01/2013 FEB             |...

View Article

The SELECT permissions was denied on the object 'extended_properties',...

I have a SQL Server connected intro a Windows Server 2003 Domain Active Directory, the server holds a default instance with a single Database, the SQL Server is 2005 Std Edition, and is using mix mode...

View Article


Export/Import data in SQL Express 2014

Hello,I have SQL Server 2008 on the network server and 'central' DB. To workaround cases when the network is down I decided to implement 'local' design on all clients. Actually I have 5 clients. I...

View Article

How do I write a query to give back the records only with today's date?

For example the date format is "2014-05-01 16:31:35.897" is a column called "EffectiveStartDate' I tried using where EffectiveStartDate like '2014-05-01%' but that returns nothing.

View Article

SQL Server 2012

Hi,Having problems with uninstall and repair for SQL 2012 Express Advanced. According to the web is due to MSDE installed on the machine.Error message:SQL Server Setup has encountered the following...

View Article


error code attributes do not match

when trying to install SQL Server 2008, on Feature Selection screen, I am getting an error message: Attributes do not match.  Preset attributes (Directory, Compressed), including attributes (0),...

View Article


Assign sequential number for same records

Please help in writing query for the below scenario Table                recordIdNamedateAbc-123Star23-09-2013Abc-123Neon17-09-2014Abc-123lap05-05-2014Xyz-789Note09-10-2013Xyz-789Sketch15-01-2014I must...

View Article

Storage of a data type...

Hi,  I have a listbox field who's contents I want to store in a field in a SQL Server row in a table field. The size of the data is variable. Also, I want to read the field back into a listbox and...

View Article

Storing and calculating sales per item

The case: We have a item, on that item we have a fee. If the item has sold more than 1000 copies, the fee will drop. Therefor i need to have a place that calculates/stores total sales per item. This...

View Article

msdb..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 Article


Incorrect syntax near '@attach_query_result_as_file'.

hi,i am getting below error while executing sql querry with email as output.Msg 102, Level 15, State 1, Line 77Incorrect syntax near '@attach_query_result_as_file'.i have checked for the  , before the...

View Article

upload the sql database to host and manage it

helloi have window 8.1sql server express 2014visual studio 2013 expressi have built a database and i am ready to copy it to the host.not in vs or in sql.s i have found the.. connect to remote server..i...

View Article


sql server business intelligence development studio 2008

I had install MS sql server 2008, this version have a forder "Integration services" but only see "Data profile viewer" and "Execute Package Utility", and cannot find business intelligence development...

View Article

how to automate sql server querry and output to send via email alerts

Hi,I have MS SQL 2005 server. Daily i m running sql querry at 10:30 pm. i want to automate this process & output need to send via email. Please suggest what are the options availble.Thanks in...

View Article


"the feature you are trying to use is on a network resource that is...

when I try to install SQL Server enterprise 2008, during the installation processing, an error information occurs, it said that 'the feature you are trying to use is on a network resource that is...

View Article

Get who access the sql database, tables and rows accessed.

Hello, Im new on sql.  I have a bunch on users that connect to the server with their own username, so I just want to get some kind of estadistics to get:1. date time username application that use to...

View Article

Exception handling problem with insert statement

Hi,Below is the code which i have written with intentional mistake (Giving wrong column name 'UserPasswor' instead of 'UserPassword') to test TRY-CATCH MechanismBEGIN TRY begin transaction insert into...

View Article
Browsing all 8428 articles
Browse latest View live


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