Viewing 15 posts - 31 through 45 (of 45 total)
Hi Guys, I have managed to got it all working. I am inserting values into 2 different tables in the stored procedure. I have simply joined these two tables to...
April 25, 2013 at 6:47 am
Thank you sean that fixed my problem and this is just a report I am making for a client which will be viewed in a word document so I had...
April 23, 2013 at 8:21 am
Sean i totally agree with what you said and apologies i didnt post the data in the correct format. In future ill make sure I post all the required data...
April 15, 2013 at 11:08 am
Sorry i am new to the forum and I will keep that in mind for my future posts.
I am executing
With mySampleData(strComment)
AS
(
SELECT TOP 100 strComment FROM [DB_access].[audit].[tblScenarioRunAudit]
WHERE strComment LIKE '%scenario%'
)
,IntermediateResults...
April 15, 2013 at 9:24 am
Hi,
When i run your code, on the second column actType I get '}' with all the results.
For example:
254}
254}
254}
Is it possible for you to remove the '}' from...
April 15, 2013 at 8:56 am
Thank you for your reply.
Here is the DDL and the sample data as requested
USE [DB_Access]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [audit].[tblScenarioRunAudit](
[id] [int] IDENTITY(1,1) NOT NULL,
[keyScenario] [int] NULL,
[strComment] [varchar](8000)...
April 15, 2013 at 8:04 am
Thanks for your reply. I have added
FETCH NEXT FROM crSystem
INTO @SubId, @startDate, @endDate
Now I am getting this error:
Must declare the scalar variable "@SubID".
Msg 102, Level 15, State 1, Line...
April 11, 2013 at 4:40 am
Thats what i needed. Thanks a lot Lynn - you are a star! 🙂
March 7, 2013 at 10:11 am
Thanks for the quick response Lynn. I already have a table called tblConfig, I think I need a stored procedure or some sort of a cursor which will copy the...
March 7, 2013 at 10:00 am
Thank you Lowell for creating a view for me. Its been a great help.
Kind Regards
March 7, 2013 at 8:32 am
Hi Ron,
Following is the TSql I used:
SELECT OBJECT_NAME(EXP.major_id) AS TableName,
C.name ...
March 7, 2013 at 8:07 am
Viewing 15 posts - 31 through 45 (of 45 total)