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

SSIS and OLE DB depreciation

I searched for this on the site and didn't find anything specific to the change so I thought I would ask. If there is a discussion feel free to post the link(s) and mock my lack of search skills. :-)I...

View Article


Can I lock a table only for a specific user for some seconds

Hi I ned to do some operations on a table when any user dont work with it.How do i do it?Do i lock the table? and is it possible?(I dont want to deny permission from a user because cause error) Can i...

View Article


Creating a delimited string

Hi All, I have a need to create a delimited string so that I can use this to create a data driven subscription on SSRS, I am pretty sure I am making a fairly simple task a lot harder than it needs to...

View Article

How to chose delta columns in ssis

Hi experts,i would like to know the best practices to choose the columns which should be used for delta?.If, i consider Customer ID as part of delta.. is it the a good idea.Please provide the valuable...

View Article

Datetime conversion

Hi,I have simple query, I'm trying to convert a varchar value to datetime format but it throwing below error:The conversion of a varchar data type to a datetime data type resulted in an out-of-range...

View Article


How to add .sql script into a table row

I have one environment where we get number of changes everyday. It takes time to take backup of database and then apply the script. I am thinking to automate it as 1. SQL Script (Hot-fix) will put in...

View Article

It's time for entertainment....

Click Here............[url=https://www.facebook.com/TheLongestRide2015Movie4K]Watch The Longest Ride Online[/url][url=https://www.facebook.com/ExMachina2015Movie4K]Watch Ex Machina...

View Article

DTS migration to SQL Server 2014

Hi All,I have around 100 DTS packages (SQL 2000 version) that needs to be converted to SSIS 2014.Please let me know the best option available in doing this migration process.Please share link/resource...

View Article


Find double records within DateTime range

Hi, thanks for reading my topic.I have a query question.Consider a table with the following structure:RecordID (PK - int) - RecordDate (DateTime)I need to find all records that fall within a 7 day...

View Article


SQL 2014 in memory with HammerDB or Benchmark Factory

Has anyone used HammerDB or Benchmark Factory and tried SQL 2014 in-memory? Wondering what schema or stored procedure changes would be necessary to make it happen.

View Article

Using Newly Created Column for doing further calcualtions in SAME Query

HiI am new to SQL Programming. I am learning the basics. I am trying to create a simple query like this -SELECTColumn_1,Column_2,Column_3,10*Column_1 AS Column_4,10*Column_2 AS Column_5,-- I am not...

View Article

Trying to Avoid Dynamic SQL

I am constructing a query. It will pull data from 10 different databases. Rather than write the code then different times, I am using a cursor to build the query. However, the only was I can think of...

View Article

Linked server Insert problem

Hello everybody, I've encountered the following problem which I can't explain to myself.My setup is: SQL 2014 + Linked server (name it 'EXTSYS') to a MySQL DB (v.5.1.73) through ODBC ConnectorEXTSYS...

View Article


ACE.OLEDB.12.0' provider is not registered on the local machine

Hi All,I have installed SQL server 2014 and my office is also 2013 64 bit. when i am trying to upload excel file into SQL server I am getting error that ACE.OLEDB.12.0' provider is not registered on...

View Article

QueryHash between Instances (2008 and 2014)

Hi,I was wondering if anyone has a reasonably definitive answer as to whether the QueryHash generated on one instance will be the same as the QueryHash generated on a different instance for the same...

View Article


Connect to SQL Server 2014 from SSMS 2008R2

Has anyone connected to Server 2014 from SSMS 2008R2? I've seen issues before connecting to Server 2012 but wanted to check if it was possible for 2014?ThanksNick

View Article

TSQL dense rank type question - finding the first date of a budget change...

I am trying to write a query to give me all "budget changes" (and the day they happened) per customer. Example is below:create table testTable(id tinyint NOT NULL, cust_id int NOT NULL, sDate datetime...

View Article


Add new column with default value

Hi There,I want to set a default value to a column while adding it. [code="sql"]Create table test(id int )insert into Test values(123)alter table test add column2 int default(0) [/code]In the above...

View Article

Trigger on a view

Hi,I have a situation where I have Table A, Table B.View C is created by joining table A and table B.I have written a instead of trigger D on view C.I do not insert/update/delete on the view...

View Article

Is there an easier way to do this than to use a CTE?

Here's the code, followed by the explanation of what I'm wanting to do:[code="sql"]--alter view vwStudentsAPHQualificationSummary asWITH StudentAPH_CTE (DistrictNum, DistrictName, APHQualified,...

View Article
Browsing all 3145 articles
Browse latest View live