Viewing 9 posts - 1 through 9 (of 9 total)
The order of the previous and the next rows should be ordered just like the SQL has inserted according to the primary keys.
This is the problem. There is no...
July 16, 2013 at 2:08 pm
Help us understand your requirements:
If you picked:
cost_center_code: 1
Payment_code: 4
Inv_no: 2
What do you expect to see in the following columns?
prev_cost_center_code:
prev_Payment_code:
prev_Inv_no:
next_cost_center_code:
next_Payment_code:
next_Inv_no:
July 16, 2013 at 11:52 am
The problem is likely when you are using the import wizard for sql server... It defaults the column output width to 50 characters... You have to click on...
July 10, 2013 at 2:14 pm
Here is one way to do it.
--sample table and data
create table custtest (customerID varchar(50), customername varchar(100), acctID integer)
INsert into custtest
select 'Cust1', 'Peter', 123
union
select 'Cust1', 'Peter', 345
union
select 'Cust1', 'Peter', 567
--pivot query
select...
July 10, 2013 at 1:00 pm
You could also look at Visual Studio Lightswitch if you need a quick solution to present a form over your data table.
If you have any development background Lightswitch is easy...
July 10, 2013 at 12:09 pm
One way I've done this which may help you is to create a control table in SQL Server.
Something like this:
CREATE TABLE [dbo].[ExcelSource](
[WorkbookName] [varchar](255) NULL,
[FilePath] [varchar](255) NULL,
[SheetName] [varchar](255) NULL,
[CellRangeToQuery] [varchar](25) null,
[Active]...
July 10, 2013 at 11:50 am
update #temp
set flag = 'Y'
from #temp
join (select lnno ,max(amount) amount from #temp group by lnno) temp2 on
#temp.lnno = temp2.lnno
and #temp.amount = temp2.amount
July 10, 2013 at 7:33 am
1) Say A1, A2, A3, A4, A5, A6 are given Order as 1,2,3,4,5,6
2) Now, Change the existing Order of A3-3, A4-4, A5-5, A6-6 to a New order A3-1, A4-2, A5-3,...
July 9, 2013 at 12:14 pm
I recommend taking a step back and trying to analyze your solution a little more in depth.
From what I can tell, based on your DB name, ConstarOLAP_PROPHIX_FactDb, you are creating...
July 8, 2013 at 1:51 pm
Viewing 9 posts - 1 through 9 (of 9 total)