Viewing 15 posts - 6,721 through 6,735 (of 7,187 total)
Rob
If you don't have any indexes on your table then you can't have a fill factor. I would recommend starting off by creating a clustered index at the very least. You...
December 7, 2006 at 8:46 am
Shaimaa
I'd be surprised if it's the speed of your connection that's causing the failure. When you get the failure message, double-click on the failed agent in Enterprise Manager and you...
December 7, 2006 at 8:13 am
Should work... Try this:
SELECT show_name FROM My_Table WHERE show_name LIKE 'My hunter%'
This will verify whether you have the correct data in your table.
John
December 6, 2006 at 9:54 am
Make sure you have indexes properly defined on the two tables you are selecting from. Best candidates are those columns used in joins and WHERE clauses. Maybe a covering index...
December 6, 2006 at 9:47 am
Jim
Yes - you did specify "based on a date". So you can do it like this:
SELECT TOP 1 EmpName, EmpDateTime, EmpData
FROM Employees
WHERE EmpID = @EmpID
ORDER BY EmpDateTime DESC
John
December 5, 2006 at 9:33 am
Jim
You haven't given us much to go on! Assuming you're not bothered which record you retrieve, something like this:
SELECT TOP 1 EmpName, EmpDateTime, EmpData
FROM Employees
WHERE EmpID = @EmpID
John
December 5, 2006 at 9:23 am
Have you read about parameter sniffing?
John
November 14, 2006 at 2:54 am
Hemant
I've run the query with your data and got 21 rows, as expected. I suspect that what you have done is not to have cleared out the temp table before...
November 14, 2006 at 2:44 am
You should not be surprised that changing the parameters results in a different executions plan since the number of rows returned is likely to be different and so the most...
November 14, 2006 at 2:06 am
Anil
If Andrew's suggestion doesn't work in your environment, try breaking down your insert into smaller batches. That way, the first batch can be replicating on to the subscriber while the...
November 14, 2006 at 1:52 am
Hemant
Please post the output of this query:
SELECT CustomerCode, InvoiceDate, InvoiceAmount
FROM tblCustomerInvoice
ORDER BY CustomerCode ASC, InvoiceDateTime DESC
John
November 14, 2006 at 1:38 am
Asim
Have you tried
GROUP BY YEAR(LossDate)
and
GROUP BY MONTH(From_Date)?
John
November 13, 2006 at 8:48 am
OK - if you want the operating system only to use 1GB of RAM (instead of the default of 2GB), which I presume you do since you've set SQL Server...
November 9, 2006 at 8:14 am
Harris
I imagine that if you include the characters "password" in your password, then the setup program will construe that as not being a strong password.
John
November 9, 2006 at 7:00 am
Pivoting data in SQL Server 2000 can be done, but it's clumsy and cumbsersome. Search this site - there are plenty of answers to this sort of problem.
What I'd do...
November 9, 2006 at 3:47 am
Viewing 15 posts - 6,721 through 6,735 (of 7,187 total)