Skip to main content
Home
Live to Learn!

Main navigation

  • Home
  • Learn
    • FoxPro
    • MS-DOS
    • C PRG
    • Java
    • ASP
    • Ruby on Rails
    • ASP.NET
    • E-Books
    • Exam Preparation
    • Tools
  • Blog
  • Forums
  • Contact
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Computers & Technology

Hardware & Troubleshooting

Description

Hardware, Software, OS Troubleshooting

By Divya , 20 April, 2017

Query to truncate log files or shrink all MS SQL Databases

Execute the following query to shrink and truncate log files of all the databases in the instance.
Forums
Hardware & Troubleshooting
By Divya , 20 April, 2017

Truncate MS SQL Database Log file

Large size of log file can be truncated using the below command. Make sure to take backup if log file is necessary. Replace the database name 'test' and log file name 'test_log' in the below below query then execute.

USE test
GO
ALTER DATABASE test SET RECOVERY SIMPLE WITH NO_WAIT
DBCC SHRINKFILE(test_log,1)
ALTER DATABASE test SET RECOVERY FULL WITH NO_WAIT
GO
Forums
Hardware & Troubleshooting
By Divya , 20 April, 2017

Repair MS SQL Corrupted or Suspected Database

Execute the below query by replacing the 'test' with the database name. EXEC sp_resetstatus 'test' ALTER DATABASE test SET EMERGENCY DBCC CheckDB ('test') ALTER DATABASE test SET SINGLE_USER WITH ROLLBACK IMMEDIATE DBCC CheckDB ('test', REPAIR_ALLOW_DATA_LOSS) ALTER DATABASE test SET MULTI_USER
Forums
Hardware & Troubleshooting
By Divya , 31 May, 2014

How to delete short-cuts in pen-drive created by virus?

Recently my pen-drive affected by Virus.

I have done through scanning using Latest antivirus.

Now all the files and folders are in hidden state. 

I have enabled the hidden files using the steps provided in the post : Enable hidden files and folders in pen-drive 

Now, How to delete the shortcuts that are in pendrive?

Forums
Hardware & Troubleshooting
By Divya , 24 October, 2013

Why pendrive not shows full capacity as specified?

Hard disk, pen drive, flash drives, memory cards showing less capacity comparing to the specification provided by the manufacturer.

What's the reason for it?

How to utilize full capacity?

My 16 GB pen drive shows 14.9 GB only..

Forums
Hardware & Troubleshooting
By sureshdurairaj80 , 10 March, 2013

Difference between 2nd Generation and 3rd Generation Laptops, Processors

What is the difference between 2nd Generation & 3rd Generation Processors / Laptops?

Forums
Hardware & Troubleshooting
By Ramakrishnan , 4 November, 2012

What is the difference between DDR, DDR2 and DDR3?

What is the difference between various RAM Modules currently used? i.e., DDR, DDR2, DDR3?

Forums
Hardware & Troubleshooting
By kumar , 2 March, 2012

Difference between Online UPS and Offline UPS

Offline UPS

Offline UPS supply grid power to electrical and electronic devices during normal power supply. It switches to battery power only during power failures and other power problems. As the grid power is bypassed to the load during normal power supply, it is known as Offline UPS. As the UPS is used only during power problems it is also known as Standby UPS. Offline UPS is also spelled as Off-Line UPS or Off Line UPS.
Apart from bypassing power to the load, Offline UPS also

Forums
Hardware & Troubleshooting
By mkrkarthi2011 , 29 January, 2011

Difference Between LED, LCD and TFT

What is the difference between LED, LCD and TFT displays?

Forums
Hardware & Troubleshooting
By Karthik , 9 January, 2011

Increase speed of your Internet band width

Start > Run > type gpedit.msc
You will see [Local Computer Policy]
Expand the [Administrative Templates] branch
Expand the [Network] branch
Highlight [QoS Packet Scheduler]
Double-click [Limit Reservable Bandwidth]
Check [Enabled]
Change [Bandwidth limit %] to 0 %
Click [Apply] [OK]
Restart
Now, enjoy the speed of your internet!

It boosted speed of internet in my pc double time.

Forums
Hardware & Troubleshooting

Pagination

  • 1
  • Next page
Hardware & Troubleshooting

Featured Blog Posts

Convert Currency in Number to Words (Indian Rupees) - MS Excel
Foxpro Tutorial and Programs
Convert Currency in Number to Words in MS Word
Convert Currency in Number to Words (Indian Rupees) - Version 2
Best way to Use Rupee Symbol in Windows – Easy steps
Convert Currency in Number to Words - MS Access
Creating All in One Windows XP DVD with all Important Applications
RSS feed

© 2009-2025 Live to Learn.In

Terms of Use | Privacy Policy