Viewing 15 posts - 76 through 90 (of 126 total)
CREATE TABLE #temp (Period char(6),PolicyNumber varchar)
INSERT INTO #temp (Period,PolicyNumber)
SELECT DISTINCT CONVERT(char(6),DATEADD(year,10,EffectiveDate),112),PolicyNumber
FROM GE_Transaction
WHERE Status='A' AND DATEADD(year,10,EffectiveDate) > (DATEADD(mm, 1,MonthReported) - 1) and Month_of_file='20060901'
SELECT a.Period,COUNT(*) AS [Count]...
December 12, 2006 at 10:15 am
still not clear getting following message
Server: Msg 245, Level 16, State 1, Line 2
Syntax error converting the varchar value 'FFG1212267' to a column of data type int.
December 12, 2006 at 9:14 am
still gives an error message
Server: Msg 207, Level 16, State 3, Line 2
Invalid column name 'Period'.
December 12, 2006 at 8:32 am
i get the following error message when i execute the above suggested query
Server: Msg 107, Level 16, State 2, Line 2
The column prefix 'a' does not match with a table...
December 12, 2006 at 8:10 am
SELECT DISTINCT PolicyNumber
from GE_Transaction
WHERE Status='A' AND MonthReported < DATEADD(year,EffectiveDate,10)
i get the following error
Server: Msg 8116, Level 16, State 1, Line 1
Argument data type datetime is invalid for argument 2...
December 11, 2006 at 12:13 pm
iam updating temp table.
both tables have PolicyNumber,SeriesCode,TableCode.EffectiveDate
i just want to update Effective date column in temp table
December 6, 2006 at 1:47 pm
PolicyNumber, TableCode, SeriesCode,---exists both in GE_Claim and GE_Reserve
LossDate,InClaimFile----------------exists in GE_Claim
WaiverofPremium------------------exists in GE_Reserve
i have created a temp table as follows
create table #tmp
(PolicyNumber varchar(10)
, TableCode varchar(3)
, SeriesCode varchar(1)
, IssueAge tinyint
, Gender char
,...
December 6, 2006 at 10:37 am
i have to make a join between table GE_Claim and GE_Reserve.
can you explain a little more and show me what are you saying ,may be i did not understood it
Inner...
December 6, 2006 at 10:06 am
any other option i have tried all these but no luck any other suggestion?
December 6, 2006 at 9:51 am
i am not able to give you data. you can send me and i can test run the script and make any modification if neccessary
December 6, 2006 at 8:49 am
Thanks for your help
CREATE TABLE [GE_Claim] (
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[Month_of_file] [datetime] NULL ,
[CompanyCode] [varchar] (3) COLLATE SQL_Latin1_General_CP850_BIN NULL ,
[PolicyNumber] [varchar] (10) COLLATE SQL_Latin1_General_CP850_BIN NULL ,
[CoverageNumber] [tinyint]...
December 6, 2006 at 8:04 am
Thanks a lot it works but can you tell me one more thing is there anything wrong with my update statement below with which i want to update my temp...
December 6, 2006 at 7:09 am
instead of making an inner join on table GE_ReserveFile can i create a temp table with the same columns as that of GE_Reservefile and populate it and then i can...
December 5, 2006 at 9:15 pm
Viewing 15 posts - 76 through 90 (of 126 total)