Viewing 15 posts - 49,531 through 49,545 (of 49,571 total)
How are you initially creating the temp table?
CREATE TABLE #myTable (...)
or
SELECT ...
INTO #myTable
I've had some problems with the SELECT ... INTO #temp before. Try explicitly declaring the table if you're...
September 6, 2004 at 11:46 pm
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
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
Viewing 15 posts - 49,531 through 49,545 (of 49,571 total)