Viewing 15 posts - 31 through 45 (of 94 total)
check if this works for you.........changed your code a bit to make it work..
drop table languages
drop table daytime
create table languages (id int, name varchar(20))
insert into languages select...
November 17, 2009 at 8:07 am
Can you post sample data along with...
For testing, I have tried with following variables and works fine.
declare @o_bal decimal(10,3)
declare @Outstanding_Bal decimal(10,3)
declare @P_Amount decimal(10,3)
set @o_bal=10
set @Outstanding_Bal = 5
set @P_Amount = 5.5
SELECT...
November 13, 2009 at 2:08 pm
I got you..Thanks much...
Jus
November 13, 2009 at 12:04 pm
For Convenience, i have also taken 3 sets for Item/Qty/Value..Is this the solution you are looking for?
I have created test table with some dummy data...
use tempdb
if object_id('tempdb..#testsplit') is not null
drop...
November 13, 2009 at 8:51 am
I guess these kind replies bcoz of UI in SSC.
When we reply in SSC, No history of the post will be shown underneath. that some times confuses users when keeps...
November 4, 2009 at 8:44 am
Lynn..you are right..I should have tried first. But when i saw the code i found few oracle objects like dual , connect which am unaware of...hence posted..this was not for...
November 2, 2009 at 2:07 pm
Do you get the fixed number of columns as output everytime you execute [SP_LogView2]
--- If Yes, You can have a permanent table with those many column...
October 30, 2009 at 8:26 am
Sample data should have been helped us to help you..
any way, if the data is Continuous (with no spaces or no delimiters), you can use still bulkinsert to dump into...
October 29, 2009 at 12:07 pm
your DB Design and how they related should tell you the answer.
Does all the columns in your select query (apart from loanid) will occur only once for every loanid?
if not,...
October 29, 2009 at 10:17 am
There are two things. 1) Split the values in to separate columns 2) define view.
For point no 1) You can use Tally tables (Search for "Tally table" in SSC)...
October 29, 2009 at 9:40 am
Thanks all replied...
Create table TestDiff (DateCol datetime,daysdiff int)
WITH DaysDIffCTE AS
(SELECT Datecol,daysdiff,ROW_NUMBER() OVER (order by Datecol asc)as RowNumber FROM TestDiff)
select a.datecol 'Fromdate', b.datecol 'Todate',b.daysdiff - a.daysdiff 'DIff'
from DaysDIffCTE a...
October 29, 2009 at 8:58 am
Thanks Steve..I guess we need some appliocation (.net) to accomplish the required functionality.
October 26, 2009 at 12:47 pm
Set @P_Amt = (Select Sum(Cast(P_Amount as Numeric)) FROM tblArchive Where RunDate >= @First_Day_Prev_Month AND RunDate <= @Last_Day_Prev_Month)
October 26, 2009 at 11:18 am
Viewing 15 posts - 31 through 45 (of 94 total)