Joining a View's referenced Table columns to the View's columns
Joining a View's referenced Table columns to a View's columnsI will start simple. (I realize that a view can reference another view etc, but I need baby steps) Most of my views are about as simple as...
View ArticleIssue after Patching SQL server 2012 SP2 QFE
Hi All,I have recently patched SQL Instances on two node cluster with SQL server 2012 SP2 QFE update. I have applied the patch on the passive node and when i failover the SQL instance to that...
View ArticleOrganizing videos with SQL?
Hello,We work with a SQL developer but he suggested we search to see if there was a product we could customize that already did what we wanted. We are starting a new company that will have videos for...
View Articleconvertion disk based table to In memory optimized table/ disk based...
Is there any easy way to convert whole disk based tables to in memory based tables without droping one table and creating new table (memory optimized).So,I want to change all the tables to in-memory...
View ArticleUnable to access SQL Server Remotely
TITLE: Connect to Server ------------------------------ Cannot connect to 184.168.47.17. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error occurred...
View ArticleInner Join row reading
Hi,I have a question about how Inner Join reads rows.For example I have 2 heap tables.Table1 and Table2 with columnsID and NameID is unique in both tables and this is the column used in the ON clause...
View ArticleDownload SqlLocalDB X86
I need a link to download the 32 bit (X86) version of SqlLocalDB.msi. The only link I have found references only the 64 bit version.Rob E.
View ArticleDBCC CHECKDB for temporary DB
should DBA's run DBCC CHECKDB over tempDB, as well as other system/user databases, or is there any logic why they would exclude running DBCC CHECKDB over tempDB?Also - what are the business risks in...
View Articlepage verifacation NONE
Can anyone provide an IT manager (not from a SQL/DBA background), the risks in setting page verifacation to NONE for production databases?What is the risk, is it performance, availability, data loss?...
View ArticleDBCC CHECKDB and page verifacation
Can anyone provide a beginners guide to the differences betwee DBCC CHECKDB and page verifacation. The best practices indicate you should run DBCC CHECKDB regularly and set page verifacation to...
View Articlenew to sql
Hi ,I have one table a having data 1,2,3,4,5another table b having data 5 ,6,7,8,9How i will get 1,2,3,4,6,7,8,9
View ArticleDynamic management View
Hi team,I have heard that we can use Dynamic management view queries for performance testing.Do we have any DMV queries that will display below information.1. DMV queries that returns top * sql...
View Articledeleting query history
hi guys,I need to clear my query history.I wrogly select top 1000 rows from menu and this 1000 rows listed in 01.46 minutes.But,there are 11 million rows in the table and ı need to get the elapsed...
View ArticleNeed help with query
Hi there,Here is my query SELECT id, (CONVERT(datetime, event_date)) AS event_date, xmlfilename, event_active FROM test WHERE (YEAR(event_date) >= YEAR(GETDATE())) AND (MONTH(event_date) >=...
View ArticleSql Query coding guidelines with respect to perfomance turning(Do's and Donts)
Hi team,I am a performance Engineer trying to review the sql queries in application code and find any performance issues.do we have any Sql Query coding guidelines with respect to performance turning,...
View ArticleHow to Update Column Value in the whole data base (based on Column Value)
Hi,Can you please let me know.How to Update Column Value in the whole data base (based on Column Value)?
View ArticleHow to find Process Id that stops from installing Service Pack 1?
Hi everybody,I want to install SP1 for SQL Server 2014. On the Check Files in Use it shows fdhost.exe and ProcessId 5352. I can not find it in the Task Manager or Local Services (although I already...
View ArticleSQL Server 2008 R2 SQL Server management studio can't connect to SQL Server...
Hello! I am new to this forum and a nubie to MS SQLI installed SQL Server 2008 R2 standard edition version 10.50.1600.1 in February of 2013, but never used it because other software packages I...
View ArticleCalculate difference between tow recors
I have table that contains below data CreatedDate ID Message 2015-05-29 7:00:00 AOOze abc 2015-05-29 7:05:00 AOOze start 2015-05-29 7:10:00...
View Articleconnection status
when i connect to object explorer my coonection status is disconnected, although my queries are runnung, i am not getting it,, plz help me out why my connection status is disconnected
View Article