Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Browsing all 3145 articles
Browse latest View live

Package Configuration Wizard hangs using VS2013 and SQL2014

hi, I'm having trouble to use the Package Configuration Wizard. The first time using is OK (that is I can configure-save-run it as a was used to in VS2008 / SQL2008R2). But when I want to edit the...

View Article


EXTERNAL_ACCESS Assembly Signing Question

I want to be able to deploy CLR assemblies to SQL Server for SQL CLR procedures and functions that need EXTERNAL_ACCESS.I don't want to have to create a separate master db asymmetric key and associated...

View Article


Problem with getting SSIS package to successfully execute. Looking for...

I inherited support of an application that uses SSIS packages to run nightly jobs to update the database.  A user recently requested adding a datetime column representing "Registration Date".  The...

View Article

Convert integer to date

Hello,In a flat file source (that comes from a Microsoft publishing "Training Kit - Implementing a Data Warehouse with Microsoft SQL Server 2012") i have integer based column representing birth date...

View Article

Replicate Calculated Primary Key

I have a table with a calculated primary key, and I want to replicate that value (not formula) to another database. I can successfully create replication, but the behavior is "whacked". The table...

View Article


Using Cursors And Fetch

Hi Guys,I'm writing a basic data entry app with VB.Net.  I'm in the process of attempting to convert client side code to server side code.  My app has buttons to facilitate all the basic CRUD...

View Article

QUOTED IDENTIFIER ERROR help please

Hello all We have an issue that while running a process we get the following error. We are running SQL Server 2014 SP1 but the issue is intermittent which makes it more confusing. Our

View Article

INCLUDE columns in nonclustered index which are in PK

Hi SSC,I was discussing  include columns with a co-worker because he had put primary key columns in his list of INCLUDE columns in a non-clustered index he built. I was going to suggest he remove them...

View Article


More problems with SQL 2014's new Cardinality Estimator

We have an established SQL-based product which has been running just fine (with the occasional problem!) on SQL 2005 ... 2012 for some time. However, tests on SQL 2014 showed an immediate performance...

View Article


Sync data from local db to Central SQL Server

Hi All,I have a requirement to sync local db data with central SQL server. The remote users (mostly around 10 people) will be using laptop which will host application and local db. The internet conn

View Article

Pulling from two tables when data does not exist in both

I'm trying to pull sales for current year and last year for a list of customers. Sales are coming from 2 tables and the key is the customer ID. However the customer may not have data for both years so...

View Article

Image may be NSFW.
Clik here to view.

Please help me with a complex SELECT

Hi, I got a table like this:i need to convert it to a table with headers as following structure

View Article

How to find row(s) with the same value in a recordset

Hi,I got this query, that gives me all the products(optionid) that are ready to be shipped:[code language="sql"]SELECT T_Order_Detail.OrderID,   T_Order_Detail.OptionID,

View Article


General advice needed - database design - Is this a bad way to design a...

Suppose we are selling bottles of water that can be bought in sizes of 1 to 10 litres (1, 2, 3, etc...) . In this example the customer can buy up to 4 bottles of a single size (1, 2, 3 or 4...

View Article

Connection string associated with an SSMS *.sql file

I have a project setup in SSMS with several *.sql files, each of which attempt to connect to an instance when they're opened. So, now we've shutdown several 2008 instances, but there's an attempt to...

View Article


Using Lead And Lag Functions As A Means Of Navugating Back And Forth In A...

Hi Guys,I have been doing some reading online and discovered the Lead and Lag Functions.  According to what I have read these functions allow you to access previous and next row data based on your...

View Article

SELECT statement help needed - grouping by month-year

Hi,I am struggling with a select statement because the data structure needs to change a bit.  Currently the table is approximately as per below and grouped on Patient/Booking/Bed.Patient_No,...

View Article


#temp Table

HiI have a Stored Procedure that uses #temp tables. it creates them and drops them within the SP.   When I run this program from my Office network ... this SP completes successfully and next, I re-run...

View Article

Collapsing Hierarchy of messages into single row

All,I am working on a messaging system which contains message chains. I have attached an Excel sheet with the first two tabs being test data and the third tab has the desired results. The T-SQL I am...

View Article

Reading from a view intoa table is taking forever!

I have the following setup2 linked servers - on one server (sql2014) is rather complicated view - 5400 rows the view is stacked it takes data from views and tables to pull data into one placeIf I ask...

View Article
Browsing all 3145 articles
Browse latest View live