Viewing 15 posts - 31 through 45 (of 69 total)
please provide create table scripts,sample data and expected result .
August 14, 2014 at 3:44 am
HI
Try this method:
SELECT E1.Place, E1.Objective,E1.Year,E1.Month,E1.Exam1, E2.Exam2,E3.Exam3
FROM #tmpExam1 E1
inner join #tmpExam2 E2 on E1.objective = E2.objective
inner join #tmpExam3 E3 on E1.objective = E3.objective
August 12, 2014 at 6:38 am
please provide same Temp table and sample data.
clear give the exactly your expected values.
June 20, 2014 at 7:05 am
sure, please find the solution for this issue.
FIX 1:
USE tempdb
GO
IF OBJECT_ID('tempdb..#VersionFormat_tb') IS NOT NULL
DROP TABLE #VersionFormat_tbl
CREATE TABLE #VersionFormat_tbl
(
[FormatID] [smallint] NOT NULL,
[Description] [varchar](50) NULL,
[fileExtension] [varchar](10) NOT NULL,
[versionFormatTypeId] [tinyint] NOT NULL,
DisplayOrder SMALLINT...
June 17, 2014 at 7:05 am
yes you are right Gail Shaw, the suggestion you proposed is working fine.
thank you.
June 17, 2014 at 4:49 am
Thank you very much sgmunson.
Now i am clear on this.
Sample testing.
CREATE TABLE test11
(
id INT IDENTITY (1,1),
lastupdate VARCHAR(100)
)
INSERT INTO test11 DEFAULT VALUES
SELECT count(*) FROM test11
SELECT * FROM test11
May 30, 2014 at 5:49 am
Hi sgmunson,
can you please tell me how you inserted the below code in table format ?
(SELECT 42 AS tMask) AS X
Thanks
Bhanu
May 30, 2014 at 3:34 am
hi All,
Can any one tell me how to paste the code in box rather than plain text.
i mean i would like to paste the code in table format in the...
May 30, 2014 at 3:30 am
can u paste the table structure of Audit_Errors.
Then i will show u the issue.
May 29, 2014 at 5:23 am
Please check the table definition may by primary key on below columns.
State (null), Procedure (null), Line (null)
i tested it the with out primary key and it is working fine.The results...
May 29, 2014 at 4:08 am
Thank you for your detailed explanation.
March 12, 2014 at 5:49 am
hi,
for sample example i given this tamp table and sample results.
the original query is different in my project.
any other way to avoid this index scan.
i need solution for issue.
Thanks
Bhanu
March 12, 2014 at 4:27 am
as per your advise i created two non clustered indexes:
CREATE nonCLUSTERED INDEX ix_credate ON bhanu1(credate)
GO
CREATE nonCLUSTERED...
March 12, 2014 at 3:43 am
Viewing 15 posts - 31 through 45 (of 69 total)