In which sequence are queries and sub-queries executed by the SQL Engine
In which sequence are queries and sub-queries executed by the SQL Engine?Which is correct ?a. primary query -> sub query -> sub sub query and so on b. sub sub query -> sub query -> prime...
View Articleretrieve many child records IF one of them matches query
I have the following select:SELECT Toxpat.Casenumber, Toxpat.StartDate, Toxexpsub.Subdesc, ToxExpsub.Poisendexcodefrom ToxExpsub, Toxpatinner join on (codevalue.CodeID=toxpat.calltype)where...
View Articleregarding sqlserver
Hi, in stored procedure i have 3 parameters but that parameters should be optional, with out giving parameters values also procedure should execute please help me
View ArticleIs it possible to create a two node cluster with SQL server 2012 STD on node1...
Hi All,Is it possible to create a two node cluster with SQL server 2012 STD on node1 and SQL Server 2008 ENT on node2 on a Windows server 2012?aa
View ArticleIS IT POSSIBLE TO CHANGE DEFAULT INSTANCE NAME NAMED INSTANCE?
Dear Friends, I need know one thing there is any possibility to change default insatance as named instance.I will explain my query detail as fallows.1)default instance = ABCD(server name also same as...
View ArticleMin and Max values from entire table
Hi, i have requirement in which i need to find the min and max values from the entire table.See the sample data create table test ( Sal1 int, Sal2 int, Sal3 int ) insert into test values...
View Articlewhat is a batch in sql server ?
Hey guys,I'm new to sql server administration, I use the activity monitor to monitor my database, I need to know what is a batch in sql server does it mean group of statements or it is also used to...
View ArticleSQL 2008 Trigger to handle multi rows scenario
I have created below trigger to start logging the company changes from the table1 into another audit table. It works fine with single row but crashing with identical change with multiple rows. Can you...
View ArticleHow do i get the approximate size of back up file required to save on disk...
hi i am face with problem that is i want to show the how much approximate space required for backup or .bak file to get backup using sql query because i want to show the required memory for backup file...
View ArticleWhat is cross version instances ?
Greetings, I am in the process of preparing a document for upgrading our SQL Server 2000 servers to SQL Server 2008, I read the details in the technet SQL Server 2008 online books, but I didn't...
View ArticleSQL Server 2012
Hello everyone,I hope that this mail finds you in good health, where can i get a copy of SQL SERVER 2012 DEVELOPER edition?Thanks and Kind Regards,Siyanda Khumalo
View ArticlePull Data form DB while C1+C2-C3 < 0
Hi Everyone, I would like to pull out from SQL server only records that satisfy the following conditions C2+C3 -C4 < 0thanks
View ArticleUpdate query
Hi Mate,For frequent period of time, i'm doing same process to update a table with consecutive values. Hope to i make this simple an example,UPDATE Table_1 SET vchar_val = REPLACE (vchar_val, '.360/',...
View Articlessms is not there in applications but sql login services are running in...
Hello, This is Raghu,I am using sql server 2012 but currently I am facing an issues ie., my ssmsis not opened and also available in applications also but I found in error log, services.msc it is...
View Articleintellisense not working
Hi,Intellisense is not working is SSMS, I tried third party tools like SQL prompt they worked fine until license expired. I've uninstalled SQLPrompt and tried all the ways to enable it I didn't find...
View ArticleCannot create a row of size Error
Hi,Greetings for the day.I am connecting and inserting values to a table from ASP.Net using Entity Framework.I am having one column whose data type is "Varchar(Max)."I am trying to insert a value whose...
View ArticleError: 18456, Severity: 14, State: 8 XP_Readerrorlog JDBC
Hi Experts,I am using SQL Server 2008 and fromt end application is in Java. Very recently after the maintance activity (Restrated Server) am facing the below issue in the xp_readerrorlog "Error: 18456,...
View ArticleHow to configure CONNECTING VIA IP ADDRESS?
Hi guys, I know this maybe an stupid question. :(I searched the Internet but found nothing really help. If you happened to know this. Please give me some advice. Thanks in advance.Now, I got SQL SERVER...
View Articleregarding sqlserver
Hi,i have one emp tableempid name deptid sal1 kot 4 2000 2 viss 2 1000 3 pra 1 1000 4 ram 3 1000 5 fff 1 20000 6 fty 3 20000 7 hyyy 4...
View Articleregarding sqlserver
Hi,i have one table empid name managerid1 a null2 b null3 c 24 d 2my output should beempid name...
View Article