Viewing 15 posts - 3,076 through 3,090 (of 5,103 total)
Since everyone is telling me to use storeprocedures, I might start converting my pages..
Good for you ![]()
July 25, 2005 at 12:12 pm
There is no concept of row order in an SQL Table (SET). If you need them in certain order, add an order column and when you perform a select use...
July 25, 2005 at 12:09 pm
Frank I ran you code in SQL 2000 and is working as per BOL!
if you run your last inserts as
insert into rp_work3(type,new_posting_key, currdate) values ('T',@@DBTS, '7/18/2005')
insert into rp_work3(type,new_posting_key, currdate)...
July 25, 2005 at 11:56 am
Rajesh,
If you are going to use only one grid why do you need the record count in a compute by?
or is it that the record count should be another column?
July 25, 2005 at 11:36 am
>> I have tried rollup, but the output has extra records for null case. <<
You can filter those out in your Where Clause ![]()
>>cant we...
July 25, 2005 at 9:58 am
it is not very difficult to work with more than one result set just make sure that when you are done with one you call NextRecordSet from the ADO recorset...
July 25, 2005 at 9:34 am
I'm not sure you can do an Insert + Select in the same SQL connection.
Yes it is called a batch! And I would suggest you put that logic in a...
July 25, 2005 at 9:28 am
Henrik,
1) While I strongly agree with you in general this is the exception. If I hadn't used generic functions/stored procedures in this project the number might have risen from the...
July 25, 2005 at 9:18 am
why nobody advised me for that?
Well what you are doing is undocummented!
You say that it works like a charm but right off the bat I can tell you that you...
July 22, 2005 at 3:04 pm
SELECT
Substring([ext_tags], Charindex('@1@',[ext_tags],1)+3, Charindex('~1~',[ext_tags],1) - Charindex('@1@',[ext_tags],1)+3) AS Field1
, Substring([ext_tags], Charindex('@2@',[ext_tags],1)+3, Charindex('~2~',[ext_tags],1) - Charindex('@2@',[ext_tags],1)+3) AS Field2
, Substring([ext_tags], Charindex('@3@',[ext_tags],1)+3, Charindex('~3~',[ext_tags],1) - Charindex('@3@',[ext_tags],1)+3) AS Field3
, Substring([ext_tags],...
July 22, 2005 at 2:34 pm
I am not a Crystal Reports expert but I am positive that you can use Stored procedures with it!
July 22, 2005 at 2:17 pm
Galahad,
It is ok if you want to leave it like that but I think it may be easier if you create a view with the thefinition of the original query...
July 22, 2005 at 1:08 pm
Well Some (not all
) of my knowledge come from some interesting chanllenges that everyonce in a while pop up in user forums like...
July 22, 2005 at 1:03 pm
Unfortunately this query
Delete Dups
where pk in (-- Get the max pk of each dup
select max(a.pk)
from dups a
join dups b on a.foo = b.foo
where a.pk...
July 22, 2005 at 12:31 pm
>>.. none of them however have any sorting ability <<
I have to differ on that one In "Mainatining Hierarchies" you have a "level" and a "path" columns therefor if you...
July 22, 2005 at 9:26 am
Viewing 15 posts - 3,076 through 3,090 (of 5,103 total)