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

Replication Error - MSSQL_REPL. Error number: MSSQL_REPL20084

After completing the replication setting, the get this error - The process could not connect to Subscriber : MSSQL_REPL20084. I have tried to change the permission to no avail. Please advised.Thanks

View Article


Property TextHeader is not available

Hi,When I tried to get the SP script, I got the error "Property TextHeader is not available for StoredProcedure 'xxxxx'. This property may not exist for this object, or may not be retrievable due to...

View Article


Script out multiple differential restore backups

I am working on a migration of SQL 2012 to 2014 and I am trying to eliminate down time as much as possible. I have worked with other on this forum on getting a script to restore all my system database...

View Article

Script to stop service using XP_CMDSHELL, restore full and differential .bak...

Hi -I have a need to stop some application services based on the database environment I am refreshing, restore full bkup in norecovery, and then do the differential in recovery mode. I am putting below...

View Article

display different sort order for each execution

Hello all,i would like to know if there is a way to display results in random order for each execution. [code="sql"]/*-------------------------Drop temp...

View Article


Exporting Database tables to Text at the same time

I have around 2000 tables i need to export to text files. I tried using the Export Wizard which works if you are doing 1 table at a time. Try to export table in an excel file but i have tables bigger...

View Article

Dynamic query

Hi,In continuation with a previous topic I asked I still have issue with a new dynamic query (this is kind a new subject for me), :w00t:I have a few empty tables that they look all the...

View Article

URGENT Please -Substring Formation in SQL SERVER 2014

Hi-How can I grab the numeric value from string.Numeric value if starts with 2 is going to be 16 characters long and if it starts with 1 will be 20 characters long.ex) Recalc 2015659341589653ex) Recalc...

View Article


Lock corresponding tables until Commit/Rollback

Hi Team,When am updating a row, the corresponding rows should be locked for update.BEGIN TRANSACTION; GO UPDATE UNIFY SET NAME ='HHT' WHERE RECORD_ID=789 GOIn above scenario, the record_id=789 should...

View Article


Filter based on DB name (ID)

Hi, I found such query on internet which help to identify the difference between max logical read and min logical read, but I don't know how I can filter this based on DB name. [code="sql"]select...

View Article

How to identify parameter sniffing and fix it

Hi,How can we know if there is a parameter sniffing in the system, and if possible to clean up a specific execution plan?Regards,

View Article

Lock escalation

Hi, Is there any way to find if there is any lock escalation?Regards,

View Article

Is Developer Edition 2014 still available anywhere?

Hi all,I believe the 2014 and 2016 developer editions are now free to download, but I can't find a download link for the 2014 edition on Microsoft. I don't have a 64 bit machine so the 2016 version is...

View Article


Temp Table vs Permenant Table

Hello,I have a SP that uses 4 big temp tables and then inserts data in real sql table and then I am dropping them at the end of SP It takes so much time. more than 25 mins for only 5K rows.Now if you...

View Article

dynamically build an extractor for extended events xml

Back with server side traces, i would build a view for each trace that would extract the details out for me, and made it extremely queryable I want to do the same with Extended Events, but because each...

View Article


Can we log all database user (session) specific data into table?

Hi All,I am facing performace related issues for my .NET application that call several procedures. I have around 450 procedures for my application into database. I want to log their execution time in...

View Article

Using SP X View X Table with Multiple Values

Hello, good day.I'm wondering if you guys can help me out. I've been trying to figure out how to do or the best approach to get the result that I need.I've the following SP that return the Lat and Lot...

View Article


Join resultset from SP_WhoIsActive

Hi,I execute [code="sql"][dbo].[sp_WhoIsActive] @get_plans=1,@get_additional_info=1 [/code] on SQL Server. But how I can join the resultset from SP_WhoIsActive with below SQL statement (join them with...

View Article

ERROR_MESSAGE not iisplaying the full message

Hi, I'm using SQL Sever 2014. I'm wondering is it possible to get the ERROR_MESSAGE() statement to display the full error message. I know it only displays the last error if there is more than 1 but I...

View Article

Email marked as failed, but was delivered

Background:There is a SQL Agent job that's been running for years (original developer is gone), which sends about 300+ emails a day, and there's a 4-second delay between sends. I've been asked to...

View Article
Browsing all 3145 articles
Browse latest View live


Latest Images