Viewing 15 posts - 1 through 15 (of 49 total)
This also happens when you use a query hint on a filtered index that does not fall within the parameters of the where clause
April 14, 2017 at 2:09 am
Well either the second parameter of the dbo.eProcedure stored procedure is of type VARCHAR, or column1 of table1 is of type VARCHAR.
Perhaps make sure @eValue is the same type...
September 23, 2008 at 6:41 pm
Another option would be to do the delete on an insert trigger, it would add additional overhead on the table, but if the table does not have too much activity...
August 20, 2008 at 5:51 am
Do you have a DATETIME column on the table? You would need it to delete rows older than 30 minutes. To do that you can use the DATEADD function in...
August 20, 2008 at 4:59 am
Your example does not clearly show a CTE, but if I presume your first select statement is the CTE then the way you would select items would be like this:
;
WITH...
April 26, 2008 at 1:33 pm
What about data older than 7 days, do you want to keep it there?
I don't think you can truncate committed data selectively from the log. It's a all or nothing...
April 26, 2008 at 10:28 am
you can do this:
SELECT PostCode, COUNT(Postcode) FROM
(
SELECT DISTINCT Address1, Address2, City, Postcode, Postcode
FROM AddressTable
) AS Sub
GROUP BY Postcode
HAVING COUNT(Postcode) > 1
January 4, 2008 at 4:29 am
Another way of doing it is to process a batch of rows at a time in a while loop. For instance copy 100,000 rows at a time until they all...
December 10, 2007 at 6:52 am
Both servers currently runs the SQL service under the domain's Administrator account.
November 15, 2007 at 12:52 pm
Hi
The ports seems to be fine on both servers
I can Tellnet to that server name and port and it connects immediately. I can also Tellnet back from that server to...
November 15, 2007 at 10:47 am
Almost sounds more like a crystal problem than a SQL problem.
You could pass the date value as a string to the stored procedure and then convert the string to proper...
November 15, 2007 at 9:10 am
I presume the stored procedure does not even get executed because the date value passed into the date parameters fails the conversion.
Can't you format the date value in the report...
November 15, 2007 at 8:47 am
What are the values you are passing into the stored procedure? Can you post that code as well?
And what data type is the column MWAPPTS.ADATE ?
November 15, 2007 at 8:29 am
Hi Stef
I've noticed before with large varchar columns as the primary key the inserts takes very long. The chance of each new primary key value to be inserted to be...
November 14, 2007 at 10:09 am
Have installed the latest service packs?
This error was addressed in service pack 1, but I'm not sure if it will help with a 30Mb query.
November 13, 2007 at 8:47 am
Viewing 15 posts - 1 through 15 (of 49 total)