Viewing 15 posts - 5,911 through 5,925 (of 6,678 total)
If your intent is to strip the time (or zero the time), then try:
SELECT dateadd(day, datediff(day, 0, DateColumn), 0);
November 30, 2008 at 6:18 pm
nbaghm (11/29/2008)
This the full error message:Message
Executed as user: GIS-SV01\SYSTEM. ...on 9.00.3042.00 for 32-bit
Okay - this version is the initial SP2 that was released. You should be on a minimum...
November 30, 2008 at 10:47 am
Right-click on the Maintenance plan and choose View History from there. This will show you which step failed and you should be able find the actual error message.
Also -...
November 29, 2008 at 9:20 am
Sure it does - handle the error and RETURN 0 to the caller. Stored procedure will return to caller a status of successful completion.
November 28, 2008 at 1:37 pm
Just so we answer the original question - use the RETURN statement to return the status back to the caller.
November 28, 2008 at 1:14 pm
Does the script check the number of pages for the index? If not, how many of those tables are less than 100 pages?
Without seeing the script - not sure...
November 27, 2008 at 11:53 am
One thing I noted in the earlier part of this thread is the statement that there was no concern about the statistics being up to date because they reorganize the...
November 27, 2008 at 11:17 am
Yes, I would still set the size to 100MB. Why go through the overhead of an auto-growth event when you don't need to?
November 26, 2008 at 7:32 pm
J M (11/26/2008)
I know why it got that big.....kind of a long story to type out. Bottom line is backups weren't being done...
November 26, 2008 at 4:16 pm
An update statement in SQL Server can only update a single table. If you need both tables updated as a unit, then you need to use a transaction.
You can...
November 26, 2008 at 3:57 pm
You are not going to lose any data by shrinking the transaction log. However, if your transaction log is 2GB now - something caused it to grow to that...
November 26, 2008 at 3:49 pm
Paul DB (11/26/2008)Excellent question, Matt. I am using the query inside a stored procedure, which is referenced in the SelectCommand in a .NET TableAdapter object. Because the Configure......
November 26, 2008 at 3:29 pm
Now, while what Gail has stated is quite true - in this particular case your query will always return ALL rows because that is exactly what you have asked it...
November 26, 2008 at 3:01 pm
rbarryyoung (11/25/2008)
Actually Jeff, the Owner of a SQL object can be different from it's Schema. Check out the ALTER AUTHORIZATION statement to see this..
Not sure where you got the...
November 25, 2008 at 10:34 pm
When the check_policy setting is turned on - yes, the system is going to validate using AD settings for that server.
November 25, 2008 at 10:30 pm
Viewing 15 posts - 5,911 through 5,925 (of 6,678 total)