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

need help with Invoice summary query

Hi,I am working on an  Invoice summary query. I have multiple queries which need to be merged into one to get the accurate result. Even some column names come from data tables. Please help me merge...

View Article


Execution plan

Hi Team,How to get  execution plan of a SQL which has executed two days back?And how to compare two execution plans?

View Article


Create a trigger after insert to encrypt columns in a table

Hello All,I'm trying to create a trigger that will encrypt a column when an insert operation is done on table. Has anyone tried this before? I'm new to triggers. Any help is greatly appreciated.Thanks.

View Article

Merge statement throwing Error !!

Hi Experts, Need some help on MERGE statement. It is failing, with below error message. Eventhough there are no duplicate records either at Source/Destination table, still below error is thrown. Msg...

View Article

Special Character Being Inserted into Data

This is a strange issue, but I'm not sure how to troubleshoot this. Users are using an ERP system which is using .NET 4.6.1 that is tied to a SQL Database using 2014 and they are on Windows Server 2012...

View Article


Query displaying redundant data for a menu item, menu has choices, but...

Ugh, I know that topic was ugly...Ill try to explain this as best I can...I am writing a report for a POS systemI have a query here that works perfectly:[code language="sql"]SELECT DISTINCT Tick

View Article

Plan Guides (Again)

Hello.Following on from a previous post about using plan guides as a short term fix, I am now looking at a different Applicationthat has an issue with Blocking.What I am attempting to determine is if...

View Article

Reconfiguring Data

I have a database that goes like below.ID,     Value,     Value Type1,       23,         Location2,       34,  &nbs

View Article


REPLACE not effective ?!?

Hello,I've a problem with a REPLACE command that gives no error but is not effective and makes UPDATE command fail.It works perfectly for the first column  "..n-1..." and not for the 2nd column...

View Article


Not able to pass Parameters in Stored Procedure through SSRS

Hello SirI have created a stored procedure (fetching data from wonderware Historian).I want to pass parameter @Para from SSRS.But its not working.I have tags in Historian like Z1.energy,Z1.flow &...

View Article

Syntax error - using OUTPUT clause with @tablevariable and UPDATE DML

I have a stored procedure where I am trying to update stock values in a table based on values in a table variable. After updating the values, I want to capture the before and after values and store in...

View Article

Query Tables for a Specific Value

I currently have a query that is pulling a list of tables from sysobjects based on a where clause.  From these tables, I need to only output the ones that contain a certain value for one column in...

View Article

Stored Procedure Performance After Creation

I understand that stored procedures are compiled on the first run, possibly making the runtime longer.  If I create a new procedure and run it multiple times in a loop within the same script, would it...

View Article


Benefit of updating statistics after creating new index

Is there any performance benefit of updating statistics after creating a new index?  I am in the process of creating up to 40 new indexes to improve performance in my database and curious to know if I...

View Article

Negative Consequences of Too Many Indexes

Are there any negative consequences of adding too many indexes, such as in performance.  What is considered too many?

View Article


SSIS - dynamically populate remotepath in FTP task

I am working with SSIS 2014 and need to set up a foreach loop that will download all files that are present in each of the directories that I specify as a result of a query.So for example, on the FTP...

View Article

Prevent Delete

How can I prevent users from Deleting data from all tables in a DB?

View Article


Inserting rows into a uniquely named global temp table from a UDTT via...

I may well be close to tearing my hair out. I've searched google, tried a thousand variations of the code and I'm typing so hard the keyboard may break. I need to have a global temp table with a unique...

View Article

I want all rows but not those in a table

View Article

SSRS Dataset Sequential Execution order between parent and sub report

All,I'm upgrading all my SSRS 2005 reports to SSRS 2014 and finding that the order of execution of my datasets for both parent and sub report differs between these two versions.  In 2005 we have relied...

View Article
Browsing all 3145 articles
Browse latest View live