Skip to content
sqlkitty

sqlkitty

sql for everyone

Menu
  • Home
  • About
  • Auditing
  • Code
  • Presentations
  • Publications
  • Contact

NT AUTHORITYNetworkService password

  • Posted onJanuary 4, 2011
  • network administration

Note that this account does not have a password, so any password information that you provide in this call is ignored.

Continue Reading

sql server profiler – import performance data greyed out

  • Posted onJanuary 4, 2011
  • sql server administration

make sure to import all the rollover trace files – and then it will be enabled you can also try closing and reopening profiler

Continue Reading

copying sql server jobs

  • Posted onJanuary 3, 2011
  • sql server administration

In SSMS you can select a SQL Agent job, right click and script it as a CREATE. That will give you a script that you can run on another server to create the same job.

Continue Reading

script to restore sql server database

  • Posted onJanuary 3, 2011
  • sql server administration

use master go declare @databaseName varchar(50), @backupFileName varchar(100), @restoreDirectory varchar(100) — Set the name of the database to restore set @databaseName = ‘database’ — Set the path to the directory containing the database backup set @restoreDirectory = ‘pathBackupsfolder’ — Create the backup file name based…

Continue Reading

script to restore sql server transaction logs

  • Posted onJanuary 3, 2011
  • sql server administration

use master go declare @databaseName varchar(50), @backupFileName varchar(100), @restoreDirectory varchar(100) — Set the name of the database to restore set @databaseName = ‘database’ — Set the path to the directory containing the database backup set @restoreDirectory = ‘pathBackupsLogsfolder’ — Create the backup file name based…

Continue Reading

SQL Server types of restoring database files

  • Posted onJanuary 3, 2011
  • sql server administration

NORECOVERY: Tells SQL Server that you are not finished restoring the database and that subsequent restore files will occur. While the database is in this state, the database is not yet available, so no connections are allowed. RECOVERY: Tells SQL Server that you are finished…

Continue Reading

syntax to restore database in NORECOVERY mode

  • Posted onJanuary 3, 2011
  • sql server administration

run this sql: RESTORE DATABASE  databasename  WITH RECOVERY

Continue Reading

Cannot perform the specified operation on disabled index

  • Posted onJanuary 3, 2011
  • sql server administration

my maintenance plan for defrag-ing indexes was failing due to a disabled index ran this to re-enable index: ALTER INDEX [indexname] ON dbname.tablename REBUILD GO

Continue Reading

passed network+

  • Posted onJanuary 3, 2011
  • network+

89% – passed before year end getting lifetime certification

Continue Reading

update default path for databases

  • Posted onDecember 22, 2010
  • sql server administration

open SSMS – right click on the Server – Properties – Database Settings – Database Default Locations good idea to not have your databases on the c drive

Continue Reading

Posts pagination

Previous Page Page 1 … Page 22 Page 23 Page 24 … Page 27 Next Page

Newletter Signup

Loading

Recent posts

  • Terraform Commands
  • Capturing errors and auditing in Azure SQL DB
  • T-SQL Tuesday #186 Invitation – Managing Agent Jobs
  • Query multiple Azure SQL Databases
  • Azure Vulnerability Assessments

Categories

  • audit (3)
  • azure (47)
  • containerization (14)
  • datawarehousing (4)
  • dba (54)
  • editorial (8)
  • excel and others (3)
  • IT Certifications (1)
    • network+ (1)
  • linux (2)
  • network administration (15)
  • newjob (7)
  • other (8)
  • performance (1)
  • postgresql (16)
  • powershell (1)
  • security (3)
  • sql server (23)
  • sql server administration (124)
    • jobs (4)
  • sql sever syntax (78)
  • terraform (6)
  • tsql2sday (2)
  • web dev (6)
  • zen (2)

Archives

  • August 2025 (1)
  • July 2025 (1)
  • June 2025 (1)
  • May 2025 (2)
  • April 2025 (2)
  • March 2025 (3)
  • February 2025 (3)
  • January 2025 (4)
  • November 2024 (3)
  • October 2024 (1)
  • September 2024 (2)
  • August 2024 (1)
  • July 2024 (5)
  • June 2024 (4)
  • May 2024 (4)
  • April 2024 (3)
  • March 2024 (2)
  • February 2024 (1)
  • January 2024 (5)
  • December 2023 (2)
  • November 2023 (5)
  • October 2023 (1)
  • September 2023 (1)
  • August 2023 (2)
  • July 2023 (2)
  • June 2023 (3)
  • May 2023 (4)
  • April 2023 (3)
  • March 2023 (5)
  • January 2023 (1)
  • October 2022 (2)
  • April 2022 (1)
  • December 2021 (1)
  • May 2021 (1)
  • April 2021 (2)
  • February 2021 (7)
  • January 2021 (4)
  • December 2020 (2)
  • November 2020 (1)
  • January 2020 (2)
  • December 2019 (3)
  • August 2019 (2)
  • February 2019 (1)
  • June 2018 (1)
  • January 2018 (1)
  • September 2017 (1)
  • May 2016 (4)
  • January 2016 (2)
  • December 2015 (2)
  • August 2015 (2)
  • July 2015 (4)
  • June 2015 (3)
  • May 2015 (9)
  • April 2015 (4)
  • November 2014 (7)
  • October 2014 (19)
  • September 2014 (3)
  • July 2014 (2)
  • July 2013 (1)
  • December 2012 (1)
  • October 2012 (1)
  • December 2011 (6)
  • October 2011 (6)
  • September 2011 (5)
  • July 2011 (1)
  • June 2011 (1)
  • May 2011 (2)
  • April 2011 (1)
  • February 2011 (15)
  • January 2011 (19)
  • December 2010 (14)
  • November 2010 (16)
  • October 2010 (3)

RSS SQL Kitty RSS

  • Terraform Commands
  • Capturing errors and auditing in Azure SQL DB
  • T-SQL Tuesday #186 Invitation – Managing Agent Jobs
  • Query multiple Azure SQL Databases
  • Azure Vulnerability Assessments
© Copyright 2026 – sqlkitty
Chip Life Theme by TutorialChip ⋅ Powered by WordPress