Viewing 15 posts - 31 through 45 (of 86 total)
January 23, 2017 at 11:52 am
My apologies, i do have the working solution. What i meant by 'something to work on' is that i have other fields in the table that i need to include...
August 30, 2016 at 8:45 am
this gives me something to work with thanks...
August 29, 2016 at 2:15 pm
basically this is a utility billing transaction history table.
'B' = billing record.
'P' = Payment record
'A' = Adjustment record
and so on.
so now i am trying to come up with a way...
August 29, 2016 at 7:39 am
Thanks for all the info/help. We found the issue with the 3rd party sp that was looking for orphaned entries in the lock table based upon the session_id. The users...
June 3, 2016 at 12:03 pm
Yeah since it is a production server the Admin didn't want to touch it until we created a test server and installed everything on it. But on the test server...
June 1, 2016 at 12:32 pm
downloading it now, but the local SQL admin booted me off the system. not wanting to install anything else. so we are trying to get it installed to find out...
June 1, 2016 at 11:21 am
They will not have admin rights/SQL Console. They will only be using our software to learn/experiment.
as for the amount of data changed they will spend anywhere from 2-5 days...
March 23, 2015 at 7:20 am
CREATE TABLE [dbo].[nTable](
[p_key] [int] NOT NULL,
[mf_1] [char](5) NULL,
[mf_2] [char](5) NULL,
[mf_3] [char](5) NULL,
[mf_4] [char](5) NULL,
[mf_5] [char](5) NULL,
[cf_1] [int] NULL,
[cf_2] [int] NULL,
[cf_3] [int] NULL,
[cf_4] [int] NULL,
[cf_5] [int] NULL,
CONSTRAINT [PK_nTable] PRIMARY KEY...
November 17, 2013 at 6:02 pm
i guess i could put the results into a table then use a cursor and process all the rows and use the value in the cf_field(real column name is stored...
November 16, 2013 at 1:06 am
actually i am looking more for something like this
select pkey, mf_value, mf_field, REPLACE(mf_field,'mf_','cf_') as cf_field from table1, table2
unpivot
(mf_value for mf_field in (mf_1, mf_2, mf_3,..., mf_50)) as pvtTable where mf_value =...
November 15, 2013 at 11:36 pm
OK I can use the UNPIVOT to get me the information of the mf_# that contains a matching value.
select pkey, mf_value, mf_field from table1
unpivot
(mf_value for mf_field in (mf_1, mf_2, mf_3,...,...
November 15, 2013 at 2:27 pm
Not sure how to use UNPIVOT but i will do some checking to see if it will do the job.
Thanks...
November 15, 2013 at 1:07 pm
i agree with that my suggestion was to change the table into 2 tables master/detail but had no say in the final outcome. so i am stuck with using the...
November 15, 2013 at 10:41 am
Viewing 15 posts - 31 through 45 (of 86 total)