Viewing 15 posts - 49,531 through 49,545 (of 49,571 total)
Not unless you've got some form of datetime field that's set to the current date on an update.
Timestamp columns are updated whenever a record is changed, but I don't think...
September 6, 2004 at 11:38 pm
Try an anonymous pull subscription. It's what I've had to do with a firewall between my distributor and subscriber.
September 6, 2004 at 12:27 am
Not elegant, but should work
SELECT *
FROM (Select * FROM TestWhereOrder WHERE TypeCode = 'N') NumericTests
WHERE TestWhereOrderID = 100
AND cast(Code as int) = 100
September 1, 2004 at 12:23 am
Create a database diagram with just that table. You can specify exactly what the diagram shows (just column names, names and types, etc)
You can print the database diagram
August 19, 2004 at 12:58 am
Very simplified down
i.ID, i.Header, i.Subheader, CAST(i.Text AS VARCHAR(200)) from Issues i
group by i.ID, i.Header, i.Subheader, CAST(i.Text AS VARCHAR(200))
Increase the size of the varchar if you need more chars (up to...
August 19, 2004 at 12:48 am
It sounds to me like it could be a locking issue. If there are other queries running against the table you're trying to update, your stored proc will be blocked...
August 19, 2004 at 12:31 am
Were you logged in as an administrator when you tried to install? If not, uninstall the whole lot, log in as admin and try to reinstall.
August 18, 2004 at 12:33 am
Any error message either from the installation or the start service?
August 17, 2004 at 12:50 am
Bigint (Integer (whole number) data from -2^63 (-9,223,372,036,854,775,808) through 2^63-1 (9,223,372,036,854,775,807). Storage size is 8 bytes.)
August 5, 2004 at 1:25 am
This should work, although I haven't tested it
Select * FROM A LEFT OUTER JOIN B ON A.a1=B.a1 AND A.a2=B.a2 WHERE B.a1 IS NULL AND B.a2 IS NULL
August 4, 2004 at 12:39 am
Two ways, the second may prevent the use of indexes, so be warned.
DECLARE @dt DATETIME
SET @dt = '2004/07/16'
SELECT * FROM tbl
WHERE cTime BETWEEN @dt AND DATEADD(ss,-1,DATEADD(dd,1,@dt))
(all records where cTime...
August 4, 2004 at 12:28 am
I do most heartily apologise, I missed out a + when I specified the where clause for you.
It should be
WHERE TplanCond=''' + @Tplan + ''''
*most embarrassed*
July 29, 2004 at 12:30 am
That said, I don't think you need the nested SQL statement.
SELECT tblthisproductmodelFinal.lngModelOfficeNum,
tblthisproductPolicyNumbers.lngPolicyNumber AS lngPolicyNumber,
tblConditions.lngConditionNumber AS lngConditionNumber,
tblConditions.numCycle AS numCycle,
...
July 28, 2004 at 12:01 am
You're missing some quotes
....WHERE p.TplanCond='thistestplan'
Without the quotes sql is looking for a column named thistestplan, which I assume from your comment doesn't exist.
Replace the where clause in the string...
July 27, 2004 at 11:59 pm
Viewing 15 posts - 49,531 through 49,545 (of 49,571 total)