Viewing 15 posts - 136 through 150 (of 1,048 total)
BrainDonor (9/24/2013)
Could we see the definitions of the tables involved?
Sorry I cant disclosed that but the columns using in join all have index on them
September 24, 2013 at 2:45 am
I thought due to cross join performance issue is there so I rewrite the query in this manner:
SELECT
A.OFFICEID,
A.PROJECTID,A.PROPOSALID,A.SOLUTIONID,A.UNITID,A.PRICEITEMID,A.ESTIMATIONGROUPID,A.SRNO,A.PRICEITEMNAME,A.LOCALPURCHASETYPEID,A.PRI_PRICE,
A.Sec_Price,A.PRI_PRICEWOR,A.SEC_PRICEWOR,A.PRIMARYCURRENCYID,A.SECONDARYCURRENCYID,A.DELETEFLAG,A.DATEADDED,A.ADDEDBY,A.DateChanged,A.ChangedBy,A.Quantity,
A.SrNoDetail,A.Pri_PriceWM,A.Sec_PriceWM ,A.Code,A.MOrIType
FROM ESTIMATIONOUTPUTPRICE A WITH (NOLOCK)
inner JOIN VW_ESTIMATIONOUTPUTPRICE_ETL_COMPANY B WITH (NOLOCK) ON
A.OFFICEID...
September 24, 2013 at 2:26 am
What error you are getting?
September 24, 2013 at 1:17 am
While using SELECT it will give the output in a commented lines while using EXEC it gives the error :crazy:
declare @var Varchar(1000)
set @var = '-- /* select ''Samith'' name
*/'
select...
September 23, 2013 at 10:36 pm
you can create a SQL job for this
September 23, 2013 at 6:53 am
spectra (9/23/2013)
I want to put Unique constraint on these two columns together.
I am using SQL Server Management Studio...
September 23, 2013 at 4:54 am
Instead of this:
SET @SqlQueryFirstName = '@SqlQuery ' + 'firstname = @firstname'
Write this:
SET @SqlQueryFirstName = @SqlQuery + 'firstname ='+ @firstname
September 23, 2013 at 4:46 am
etirem (9/21/2013)
For the CID, the CDate is in ASC order and if Dept=C and the next row is Dept=C...and next row is...
September 21, 2013 at 9:55 pm
may be the value you are passing to the variable @table is greater than varchar(10) which results in string truncation..
please check this
September 21, 2013 at 12:53 pm
the information you have provided is not complete..
can you please tell us on what basis you are creating the groups?
September 21, 2013 at 12:49 pm
enriquezreyjoseph (9/19/2013)
yeah you are right...i forgot to put set...i put it already and it give me this error
--------------------------
Msg 102, Level 15, State 1, Procedure SaveBiography, Line 70
Incorrect...
September 19, 2013 at 11:24 pm
what are you trying to do?
can you please post some sample data and what you want as output from that sample data?
September 19, 2013 at 11:20 pm
enriquezreyjoseph (9/19/2013)
thank you:-)still have many questions.:unsure:
what questions?
September 19, 2013 at 11:18 pm
Viewing 15 posts - 136 through 150 (of 1,048 total)