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

SSIS deployment for SSIS 2014

We are upgrading 2 server from SQL 2008 to SQL 2014.I found in SSIS solution, there are two ways to deploy ssis packages, one is project mode the other is package mode.We usually just copy the SSIS...

View Article


can Columnstore Indexe co- exists cluster index

hi,i have created a fact table which has unique cluster index as below, CREATE UNIQUE CLUSTERED INDEX [FactSales_SalesID] ON [dbo].[FactSales] (salesid ASC)WITH (DATA_COMPRESSION = PAGE)GOhowever later...

View Article


Splitting similar data into separate columns

If you see below there are 2 customer names on 1 loan, most of them share the same lastname and address, I want to separate it with fields,LoanID, customer 1 Firstname, Customer 1 Lastname, Customer 2...

View Article

Tuts for performance tuning?

Hi Folks,I have got opportunity to work on performance tuning, But I dont know where to start. Im very new to this part. * Is there any check list s ?* Any tutorials ?* Any video links?Thanks in advance

View Article

Is the SQL Server Profiler Reads Column Incorrect For Parallel Plans?

I often use profiler as one tool to help identify bad plans. The reads column gives me a good indication of excessive IO to dig into and correct if necessary. I often use it with Showplan so I can see...

View Article


Converting a column of type nvarchar to datetime

Hi, I am trying to convert a column (nvarchar) to date time. Here is an example of some values:201109052011090120111003As expected, I received the following error: 'Conversion failed when converting...

View Article

invalid column name

Ive just installed sql server 2014 enterprise and created a new databse from a script generated from a database in a sql server 2008 database. When I select a table and activate the 'select top 1000...

View Article

how to overcome from the tempdb spill over ?

Hi Folks,Here with i have attached the execution plan, In that i have tempdb spill over in sort operation. i have created index to sort even it needs temp db spill over.please suggest...

View Article


Fine Tuning Sub Queries

Can anyone look and comment how can I make the following query more efficient especially the subqueriesSELECT DISTINCT...

View Article


Multiple SQL version support

I could not figure out how to google an answer for my issue. I am hoping someone can help me here. I am a lazy programmer first off and I have a small hard drive. Management wants to support every...

View Article

Pivots date ranges with union data

Hi everyone,This is my first post and I will try to be as descriptive as possible What I am trying to accomplish is to make a few extra columns with specified date rangesI have FY14 date range in the...

View Article

SSIS 2014 - CDC 2008R2 compatibility

Quick Q.Setting up change data capture soon for BI ETL.Target system is SQL 2014 running SSIS so will have CDC Source and CDC Splitter task set up.These will point to source dB running 2008R2 with CDC...

View Article

can any one please let me know a stored procedure logic for getting a total...

[img]http://i.stack.imgur.com/T8iPH.png[/img]total L is 11 and Total R is 1 count all node

View Article


Making Dashboard in Excel from the SQL Queries

Hi, Currently i have set of queries which i run for data extraction and result pasted in Excel table so that my pivot table and Chart gets populated along with the summary in Excel file.I would like to...

View Article

duplicates

1.There are duplicates of part.num and I want to remove duplicates and add quantities of those duplicates into one single quantity. Code is belowSELECT part.num , (woitem.qtytarget/wo.qtytarget) AS...

View Article


DATEADD issue grouping by week

We have bee using something like the following to get the Monday for the specified date.However, we came across a scenario where this is not workingDECLARE @dt AS datetimeSET @dt = '2/19/2006'SELECT...

View Article

duplicates of part.num to be summed and add another column called user

There are 3 columns in the result set - part num, Qty and MO num. Each MO num has part numbers.So there might be same part numbers in MO's. Each part num has qty. So, if I group by part num, I get...

View Article


cross-database function call

i have 2 databases on the same serverOne has a function, the other has the tables and viewsusing dbaselect dbo.function(t.column) as x from dbb.dbo.table as tgives m an invalid object name of...

View Article

Change to user input prompt?

This is the SQL:[code]SELECT DISTINCT person.MembershipNumber, person.FirstName + ' ' + person.LastName AS NAME, person.FirstName, person.RegionId AS REGION, addr.StreetOne, addr.StreetTwo,...

View Article

SSRS Conditional Formatting Issue

I have an SSRS report that I want to use conditional formatting on. When the value of the cell = 0, I want the background yellow, and the font red. For the background, I have:=IIF(Fields!reads.Value =...

View Article
Browsing all 3145 articles
Browse latest View live