Pbmods,
thanks for resetting the code type to mysql in my previous post,
the code reads much clearer.
great site!...
User Profile
Collapse
-
Hi. Got it working using stored precedure in mysql, a bit long than i expected but it does what i intent to do. Here is the code in case someone is interested.
[CODE=mysql]
drop table if exists t1;
drop table if exists t2;
drop table if exists t3;
create table t1(c1 date,c2 int);
create table t2(c1 date,c2 int);
create table t3(c1 date,c2 int);
insert into t1 values ('07/01/01',0),...Leave a comment:
-
kaioshin
understand what u r saying, not sure what exact syntax to use in sybase to test ... i'd be pleasantly surprised if one could get this done with just few lines....Leave a comment:
-
-
A seemingly simple query to construct yet not so much so ...
Given a following table with two columns
date value
------------------------
01/01/2007 0
01/02/2007 1
01/05/2007 1
01/06/2007 1
01/07/2007 1
01/08/2007 -1
01/09/2007 -1
01/12/2007 1
01/13/2007...
No activity results to display
Show More
Leave a comment: