Viewing 15 posts - 31 through 45 (of 156 total)
It's likely that the original size was set to 100mb when the DB was created. That the max it can reduce to it even if all data is deleted.
August 13, 2007 at 7:44 am
This might narrow down the rows with invalid date
DECLARE @tbl table (dt varchar(8))
INSERT INTO @tbl
SELECT '20070810'
UNION
SELECT '20070230'
select * FROM @tbl where ISDATE(dt) = 0
August 10, 2007 at 8:06 am
Check out if this helps you.
DECLARE @dt datetime, @time VARCHAR(20)
SET @dt = '2007-08-08 12:01 AM'
SET @time = '9:40:24 pm'
SELECT CASE WHEN @dt <> DATEADD(day,0,DATEDIFF(day,CAST(0...
August 8, 2007 at 1:25 pm
What are the datatypes of the 2 columns ? Can you include some sample data ?
August 8, 2007 at 10:22 am
Sorry for replying late.
I got to it to work using Tomm's solution.
I prefer not to use Replication - the volumn of data is very low (10 rows) and updates...
August 3, 2007 at 1:33 pm
You have mentioned SQL 2000 but have posted this in SQL 2005. In SQL 2005, use can use VARCHAR(MAX). In SQL 2000, you have will to change the datatype to...
August 1, 2007 at 9:03 am
OBJECT_NAME ( object_id )
August 1, 2007 at 8:58 am
DECLARE @St SMALLDATETIME, @Ed SMALLDATETIME
DECLARE @Source table (Dt SMALLDATETIME, Region varchar(2), CallNo varchar(2), Hrs decimal(10,2) )
INSERT INTO @Source
SELECT '1/1/2007','AA','12',7.00
UNION
SELECT '1/15/2007','AA','13', 8.50
UNION
SELECT '1/29/2007','BB','14', 5.50
UNION
SELECT '2/12/2007','CC','15', 3.00
UNION
SELECT...
July 27, 2007 at 8:13 am
Use Raiserror
RAISERROR('Your message goes here',16,1) WITH NOWAIT
July 24, 2007 at 11:35 am
A word of caution about using ISNUMERIC. Check this post.
July 16, 2007 at 10:51 am
Will this solve your problem ?
update tbldlmatrix
Set col = (SELECT MIN(Col) AS Expr1
FROM tblDLMatrix
WHERE (Dkey IN (Select varname from tblDKeys))
GROUP BY Dkey
where dkey IN (Select varname from tblDKeys)...
July 16, 2007 at 7:50 am
July 12, 2007 at 2:00 pm
Viewing 15 posts - 31 through 45 (of 156 total)