Viewing 15 posts - 586 through 600 (of 604 total)
Okay here ya go...
Here's the table & the indexes..
CREATE TABLE [dbo].[EventItems_rob](
[LogId] [int] NOT NULL,
[Company] [varchar](50) NOT NULL,
[CompanyId] [int] NOT NULL,
[Department] [varchar](50) NOT NULL,
[DepartmentId] [int] NOT NULL,
[CompanyCRN] [varchar](50) NOT NULL,
[DepartmentCRN] [varchar](50)...
January 21, 2009 at 7:29 am
Thanks Jeff
January 20, 2009 at 9:03 am
Thanks Matt
January 19, 2009 at 1:58 pm
It would be far more efficent if you put the values that are in the function into a look-up table and then use a join to update the values...
January 19, 2009 at 1:05 pm
Thanks for the quick replys.
I'm thinking I should create a new table with state, county, abbrev...
January 19, 2009 at 9:51 am
Am I still missing something?
January 19, 2009 at 9:33 am
Sure, will do.
Sorry for the touble.
January 19, 2009 at 9:31 am
Like this Gail?
INSERT INTO Eventitems_rob (LogId,Company,CompanyId,Department,DepartmentId,CompanyCRN,DepartmentCRN,TitleUnit,TitleUnitId,State,County,OrderNo,OrderId,UserCompany,UserCompanyId,UserName,UserId,Source,Event,EventTime,EventValue,PI2Status,PI2LineCount,PI2RequestTrigger,PI2PrimaryRequestValue,Comment)
SELECT '418504535','Chicago Title','134','ServiceLink PA','845','00021','00090','01','910','CA','Madera','1734995','33806768','ServiceLink','190','Christina Young','1538','TitlePoint','Image-Recorded','Sep 29 2008 12:53PM','MA:2008 00020606','','','','',''
SELECT '358982648','PlantMaintenance','268','Arizona Locating','1132','PLADM','00009','Arizona Locating','1224','CA','Madera','[NONE]','29553378','PlantMaintenance','268','PM2 Janice Marquez','9837','TitlePoint','Image-Recorded','Jun 30 2008 1:01AM','MA:2
SELECT '358982677','PlantMaintenance','268','Arizona Locating','1132','PLADM','00009','Arizona Locating','1224','CA','Madera','[NONE]','29553378','PlantMaintenance','268','PM2 Janice Marquez','9837','TitlePoint','Image-Recorded','Jun 30 2008...
January 19, 2009 at 9:12 am
It would be great if the results could match the output of the orignal statement, as this is part of a larger proc that I would prefer not to change....
January 18, 2009 at 11:01 am
Sorry for the delay Jeff,
I followed the directions in your signature. Let me know if this is incorrect.
CREATE TABLE [dbo].[EventItems_rob](
[LogId] [int] NOT NULL,
[Company] [varchar](50) NOT NULL,
[CompanyId] [int] NOT NULL,
[Department]...
January 18, 2009 at 9:40 am
The method I posted above worked...but gives me fewer records...so I'm stuck..
January 17, 2009 at 3:37 pm
Geez long night, I meant the where..
Thanks Gail.
January 17, 2009 at 1:19 pm
Sure Gail, I understand completely.
I'm kinda new to this site, so wasn't sure if I should post something so large.
I'll work on breaking it down.
~Thanks
January 17, 2009 at 8:35 am
Viewing 15 posts - 586 through 600 (of 604 total)