SQL Server 2014 not send notification to signal app
HiI enabled service broaker and configured my MVC 5 app signalR properly . but when I run the project . and make changes to the table records . nothing is occurred . it seems it is a SQL server side...
View ArticleIndividuals who are naturally thin and have
Individuals who are naturally thin and have difficulty gaining mass tend to require less training and more rest. 6. FOCUS ON SURVEYS COMPOUNDS Exercises are those compounds that stimulate a greater...
View ArticleTemporal table type functionality for SQL Server 2014
We have a requirement in one of our SQL Server solutions for users to be able to query data from lots of related tables as at any point in time.SQL Server 2016 comes with built in temporal tables which...
View ArticleTable Partition for date range>90 days
Wanted to know how do I create partition function for date range >90 daysbasically I need partition all the rows from Table A which are older than 90 days from today. Also how do I make it dynamic...
View ArticleHow can I get estimated query plan
Hi,If I have an SQL statement, I would like to get the estimated query plan in XML file without SSMS or SQL profiler, is that possible? The scenario is I need to develop an application to analyse the...
View ArticleQuery plan analysis
Hi,If I get a query plan XML, what kind of information will make it to be considered as a 'bad' plan?I can think of the following:- PhysicalOp="Clustered Index Scan"- PhysicalOp="Index Scan"-...
View ArticleWrites in select statement
Hi,Sometimes when I ran the profiler, I can see some select statement with Writes as well. Is that normal?Thanks,
View ArticleLock_escalation
Hi,Is there any way to find out what tables have been disabled for lock escalation in the database?Thanks,
View ArticleBlocking on index
Hi,I checked the blocking history, and found that a lot of blockings on an index when the system tried to insert records to the table. Do you think if I disable this index, the blocking will be...
View ArticleCreate Flag between 2 date columns in View
WE have the following syntax to create a view to pull both invoice and collection data in 1 query that will be used for our reporting tool. I need to create a flag field so we can either filter on the...
View ArticleSelect Multiple rows into one row.
Good Afternoon AllI have a project of data migration from old system to new system. The new system needs a flat pipe file in a specific format.On my Ben table, I have an ID that could have multiple...
View ArticleSelective updates to NULL
OK, some Friday fun.Here's a set-up script:[code="sql"]IF OBJECT_ID('tempdb..#test', 'U') IS NOT NULL DROP TABLE #test;CREATE TABLE #test ( Id INT PRIMARY KEY ,Flag BIT NULL );INSERT #test (Id,...
View ArticlePartitioned table without a primary key
I came across a partitioned table that only contains non-clustered index where the partitioned column is on the index. I had the impression that partitioned tables require a primary key and that the...
View ArticleWhat is the best way to SELECT SUM while using PARTITION BY and WHERE and...
Hello,I have a small stored procedure that is doing what I believe is a fairly complex task. Maybe I'm overthinking it, but my SQL experience is rusty and limited.I have a view that pulls the data rows...
View ArticleCalculation help...
Trying to figure out how to do this in my CASE WHEN -- I am unsure of how to write this in my statement - what I am after, I need to take the Agent's [staffedtime] less their [idletime] then Subtract...
View Articlelife is the minner to set io jere
[url=http://202ufclive.com/]UFC 202[/url][url=http://ufc-202live-stream.com/]UFC 202 Live Stream[/url][url=http://202ufclive.com/]UFC 202 Live [/url][url=http://202ufclivestream.com/]UFC 202 live...
View ArticleSQL stored procedure help
I have a stored procedure that I inherited. The goal is for the data in the temp table: #multi_nominees_uf to be joined with the data in #temp_reviewers_UF and assign #temp_reviewers_UF.uf_rev_id to...
View ArticleNeeding some help - Moving data from one table to multiple
Hoping someone can point me in the right direction, we use a database to log alarms and trend data. We are working with a client that want's all of there old data imported. Normally I have an excel...
View Articlehow create job to export table to csv
hey .i want to create job that make table export to csv.i know how do to this in gui onlythanks
View Article