Viewing 15 posts - 76 through 90 (of 154 total)
Benoit ,
the best way to go about this would be using
((Col <> 'XYZ' ) AND (Col IS NULL)) in the where clause
this would utilize any indexes on the Column
ISNULL...
June 19, 2002 at 3:38 am
are you running service pack 2
there have been some issues with sqlmap70.dll in sp 2
if you are running sp 2 replace this dll with the SP 1 version
...
June 18, 2002 at 11:33 pm
what version of SQL do use use .. which sp??
June 17, 2002 at 3:44 am
doesnt this work
ALTER TABLE <Table>
ALTER COLUMN <Column> varchar(2000)
plain and simple!!!
June 3, 2002 at 3:58 am
oh yes , you can't assign to a text variable ... makes it virtually useless i guess ... you can write "select c2 from test" instead which would return the...
May 28, 2002 at 6:34 am
depends on what you want to do !! if you want to store the HTML file in binary then you would use image...if you want to just store the HTML...
May 28, 2002 at 1:13 am
doesnt this work
CREATE PROCEDURE <Proc Name> @Var text OUTPUT
AS
May 28, 2002 at 1:04 am
try powerbuilder
i've done programming in both VB and PB.IMHO developing in PB is a lot faster than VB , plus compatibility with SQL is no issue and you do...
May 24, 2002 at 1:17 am
you can use the SET ROWCOUNT command to return a variable number of rows however your query requires a range lookup !! i.e (BETWEEN) so i don't think the top...
April 29, 2002 at 11:46 pm
here's extending the query a bit
SELECT *
FROMTABLE1
INNER JOINTABLE2
ON TABLE2.claimID = TABLE1.claimID AND
TABLE2.recdDate = TABLE1.recdDate AND
TABLE2.recdTime = TABLE1.recdTime
INNER JOINTABLE3
ONTABLE2.claimID = TABLE3.claimID AND
TABLE2.recdDate = TABLE3.recdDate AND
TABLE2.recdTime = TABLE3.recdTime AND
TABLE2.DetailLn =...
April 26, 2002 at 12:37 am
does this work
SELECT @greet1 = Score1,
@greet2 = score2,
@greet3 = score3,
...
April 25, 2002 at 7:34 am
aahhh...missed that ..however Antares i've not just changed the > operator but this subquery SELECT ISNULL(SUM(AMT),0) FROM SL iT WHERE iT.SL_NO < oT.SL_NO
notice i'm using the SL_NO rather than the...
April 23, 2002 at 12:54 am
Excellent solution Antares..however the i think the calculation for cumulative should be slightly different...here's my take on your query
SELECT
*
FROM
(
SELECT
SL_No,
ITEMCODE,
AMT,
AMT + (SELECT ISNULL(SUM(AMT),0) FROM SL iT WHERE iT.SL_NO <...
April 22, 2002 at 6:06 am
here's a simple recursion that lists all the parts which are descendents to a part_id
DECLARE @Parts TABLE
(
Colidint identity,
Part_idint,
Part_novarchar(10),
Parent_idint
)
DECLARE @Colidint
DECLARE @PartIdint
SET @Partid = 1--Parameter passed
SET @Colid = 1
INSERT INTO @Parts
SELECT Part_id,Part_no,@Partid
FROM...
April 10, 2002 at 12:11 am
Viewing 15 posts - 76 through 90 (of 154 total)