Viewing 15 posts - 856 through 870 (of 1,156 total)
Note the above is only needed if you want to truncate the log and reclaim space. If not use
DBCC SHRINKFILE (N'LogFileLogicalName', 0) instead, to just shrink the log...
January 11, 2008 at 9:27 am
I am not sure. If you can connect to the server via your local instance you should be able to run the DBCC commands. Have you tried to...
January 11, 2008 at 9:24 am
You can also do this via SSMS by right-clicking the database and going to tasks --> shrink --> files
January 11, 2008 at 9:20 am
You have to shrink the log file
DBCC SHRINKFILE (N'LogFileLogicalName', 0, TRUNCATEONLY)
GO
January 11, 2008 at 9:18 am
Oh, forgot to thank you for the feed back :D. It is nice to hear that everything worked out. Some posters just take the code and we never...
January 11, 2008 at 7:17 am
BTW, I meant in no way that you do sub-par work.
I took no offense to any of your comments, I was simply explaining. Sorry if I came off the...
January 11, 2008 at 7:15 am
Good tip Ray Mond. 😉 I did not know this information was available in MSDB.
Thanks.
January 11, 2008 at 7:11 am
Yeah you can easily restore from SQL 7.0 To SQL 7.0 but you have to wave your magic wand if you want to restore from SQL 2000 to SQL 7.0....
January 10, 2008 at 6:07 pm
I agree with Gail on this one. I answered your post in the SQL 2005 forums. You can view my reponse from there. I have a pretty...
January 10, 2008 at 2:53 pm
You cant restore or attach a SQL Server 2000 database to a SQL Server 7 database and you can only DTS from 7.0 to 2000. I think you are...
January 10, 2008 at 2:44 pm
Access it the same way you would a website on the local server. Use the name in IIS to find out the exact path but you should open Internet...
January 10, 2008 at 12:18 pm
Markus is right the log is the only way. You can query the log for what you need by using the following code:
SET NOCOUNT ON
GO
Declare @ErrorLog Table (LogID int...
January 10, 2008 at 12:14 pm
Reporting services is available for any version of SQL Server 2005, but the advanced features come with Standard and above.
When you installed SQL Server 2005 Did you choose...
January 10, 2008 at 11:17 am
You could setup a report via reporting services using your query. From there you can have the report automatically emailed in the pdf format. I believe you can...
January 10, 2008 at 11:02 am
I Found this workaround on this site. With this you can return a postive number of zero from a function.
DECLARE @NBR INT
SET @NBR = -123456789
SELECT round(@NBR,-1-floor(log10(abs(@NBR))))
more info:
http://www.sqlservercentral.com/articles/Advanced+Querying/afixfunctionintsql/2487/
January 10, 2008 at 10:47 am
Viewing 15 posts - 856 through 870 (of 1,156 total)