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

Assistance with sql syntax error

 Hi,I'm new to sql and I'll appreciate some help with the code below as each attempt to execute it comes up with syntax error. Can someone guide me in the right direction pls?CREATE TABLE EMPLOYEE)...

View Article


Image may be NSFW.
Clik here to view.

How to write SQL code to get combination sets

Hello. I have four columns (many more but 4 important ones). Sales number, unique sale number, type, and date. I want to return an output in SQL  that shows each different combination (based on order...

View Article


SQL Server service account issues during install of SQL Server 2012 Standard...

While installing sql server 2012 I received a validation error. Access denied.  The SQL Server service account login or password is not valid.  This happened during the server configuration stage of...

View Article

Problems connecting to Azure Database due to firewall error

Hi, i'm trying to create a new online database using Azure. I've created the server and database on the Azure Portal, but i'm having trouble connecting to it from SQL Server Mangement Studio 2016 and...

View Article

I am Receiving Error #-2147217833, when try to Generate Inventory Valuation...

This is Error message i am getting, Error # - 2147217833The statement has been terminated.(Source: Microsoft OLE DB Provider for SQL Server)(SQL State: 01000)(NativeError: 3621)No Help file...

View Article


Sharepoint is generating SQLDmprxxx.log and SQLDmpr.mdmp files constantly

Help! The customer doesn't use SharePoint and suddenly the SharePoint instance of SQL is generating SQLDmprxxx.log and SQLDmpr.mdmp files constantly.  I had to stop the SQLServer (SharePoint) services...

View Article

Help me understand SQL Server Workflow

Hello, I am fairly new to visual studio and c sharp. I have made several applications that use OleDB to connect to a excel spreadsheet  as my "database". But I want to expand on this and start making...

View Article

Need to trigger a condition if a column occurs more than once

I need to write a query that will calculate the sum of one column only if another column is returned more than one time. For example. if product number 11111 is sent to location "home" (column that...

View Article


SQL Mail and Server using Proxies

I have an issue configuring SQL 2014 mail to send mail on a server using Proxies. The same settings works on my computer that does not use proxies.

View Article


Database lockes when SQL job running

I have several SQL jobs that takes 5 to 10 minutes running.In these jobs I Drop and build tables.While the job is running, I can not expand Views, Tables, or Procedure list.I have to wait until all SQL...

View Article

Worktable showing high logical reads

Hello all,I have a store procedure where i have one sub query to return no . of attendance between period selection basically like this,SELECT EmployeeCode,COUNT(DISTINCT ATTENDANCE_DATE)AS...

View Article

Memory issues in SQL server

Hi All,I have set my Max server memory to 28 GB and Min server memory to 8 GB, the total memory on the windows 2008 server is 64 GB (only 17.7 GB is being currently used).I do not see anything other...

View Article

Application Taking More Time(Hang)

We are facing issues in our Coding application and database.Our coding application having front end asp.net 3.5 and back end SQL Server 2008 R2.Based on project requirement we doing fields setting for...

View Article


SQL Server Standard 2016

Hi, i would like to know what is the minimum system requirement for Microsoft SQL Server Standard 2016 w/ CAL based..? How many license do i need to fulfill the minimum requirement..? Let say a single...

View Article

Efficient way to join huge tables

I have a table with 20M rows, and each row has 5 columns: time, id, value, value_lst, value_nxt. For each id and time, there is a value for the status. The first three columns are known and I want to...

View Article


MANAGED BACKUP AND RETENTION DAYS FROM SQL TO AZURE STORAGE

Hi All,I am trying to setup Managed Backup (to Azure BLOB Container) using SQL Server 2014 (Ent 64bit)and it is failing. I have the credential created with Identity as the Storage account name and...

View Article

casestament

i have an issue in case statement  question i have one table t there are two column firest one item and second size item would be likeitem             sizea                1b                1c...

View Article


HOW TO USE INSTEAD OF INSERT TRIGGER ON SQL SERVER

Hello,My table is called F_ARTGAMME and I want to use an INSTEAD OF trigger for a column called AG_No...I mean I want that instead of insering for example the value "-0,25" in this column I insert...

View Article

SQL Standard 2016 licensing on VMware environment

Hi,I'm not sure if it is correct, that when running SQL Std. 2016 on a virtual Windows OS (VMware) and chosing per core licensing model, I need a license for every single core assigned to that virtual...

View Article

Image may be NSFW.
Clik here to view.

Case wise grouping in SQL in SQL 2005

Hello All,My Greetings for the day!!!I have 4 records in SQL server 2005 and I want them to be grouped case wise.Please check the below example in the screen shot. I would like to sum records 1 and 3 :...

View Article
Browsing all 4729 articles
Browse latest View live


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