Ameer Khan

Ameer Khan

  • Home
  • Blog
  • About
  • Ameer Khan

    Feb 10, 2017

    How to create linked server in SQL Server using TSQL ?

    What is linked server?Linked Servers allows you to connect to other database instances on the same server or on another machine or remote servers.It allows SQL Server to execute SQL scripts against OLE DB data sources on remote servers using OLE DB providers.The remote servers can be SQL Server, Oracle, Mysql etc. which means those… Continue Reading

    Read More: How to create linked server in SQL Server using TSQL ?
  • Ameer Khan

    Feb 5, 2017

    How to take SQL server database backup without data?

    How to take SQL server database backup without data? Version: Sql server 2012 There are different method available to achieve this goal. Such as..Script out the source database and then run the script against an empty target database to create all database objects that are in the source databaseRight click on the database -> select… Continue Reading

    Read More: How to take SQL server database backup without data?
  • Ameer Khan

    Jan 5, 2017

    Restore SQL Server MDF Database File Without LDF File

    SQL Server is a relational database management system designed for large-scale transactions, e-commerce applications, data mining, and so on. Moreover, it is widely used on Business platforms for data analysis, data integration and processing components as it keeps all records fast, flexible and secure. The SQL server database contains three files i.e. First, database file… Continue Reading

    Read More: Restore SQL Server MDF Database File Without LDF File
  • Ameer Khan

    Nov 30, 2016

    Queries regarding Mysql Proceduers

    To find out all the procedures of a database:- SHOW PROCEDURE STATUS WHERE Db = ‘thirstydb’; To set a new definer:-mysql> UPDATE `mysql`.`proc` p SET definer = ‘thirstydev@%’ WHERE definer=’thirstylive@localhost’ AND db=’devthirstydb’;Query OK, 0 rows affected (0.02 sec)Rows matched: 0  Changed: 0  Warnings: 0 mysql> UPDATE `mysql`.`proc` p SET definer = ‘thirstydev@%’ WHERE definer=’thirstylive@%’ AND… Continue Reading

    Read More: Queries regarding Mysql Proceduers
  • Ameer Khan

    Nov 25, 2016

    Steps to Rename Physical Database Files in SQL Server

    The users can manually rename the physical files according to choice using the Transact-SQL commands in the following manner: Firstly, we will create a database “new_db” using SQL query. Naturally, the physical files will be named as “new_db.mdf”. Our main aim is to rename SQL Server physical files from “new_db.mdf” to “old_db.mdf”. Follow the below… Continue Reading

    Read More: Steps to Rename Physical Database Files in SQL Server
  • Ameer Khan

    Nov 15, 2016

    Know How To Resolve SQL Server Error 3271?

    When a user is backing up a database or restoration procedure is in process, most of the SQL users faces an error i.e. SQL error 3271. This a type of error encounters when a system is performing an I/O operation. The main reason behind this error message is related to I/O operation that displays a… Continue Reading

    Read More: Know How To Resolve SQL Server Error 3271?
  • Ameer Khan

    Nov 10, 2016

    How to drop all tables in mysql database using a single command

    Command:-mysqldump -u[user] -p[password] –add-drop-table –no-data [DATABASE] | grep ^DROP | mysql -u[user] -p[password] [DATABASE] Here test is the database name. I’m going to drop all the tables from this database.Example:-mysqldump -uroot -predhat –add-drop-table –no-data test | grep ^DROP | mysql -uroot -predhat test Continue Reading

    Read More: How to drop all tables in mysql database using a single command
  • Ameer Khan

    Nov 5, 2016

    SQL Server Warning Fatal Error 7105: Reasons And Solutions

    MS SQL Server supports Large Object (LOB) data types for storing a large amount of data. Such data types includes Binary LOB (BLOB), Character LOB (CLOB) and Double-byte Character LOB (DBCCLOB) as well. They use a unique structure which is distinct from normal data types. In certain situations, Microsoft SQL server unable to access LOB… Continue Reading

    Read More: SQL Server Warning Fatal Error 7105: Reasons And Solutions
  • Ameer Khan

    Nov 4, 2016

    How to find out highest table size in sql server 2014 ?

    SELECT    t.NAME AS TableName,    i.name as indexName,    sum(p.rows) as RowCounts,    sum(a.total_pages) as TotalPages,    sum(a.used_pages) as UsedPages,    sum(a.data_pages) as DataPages,    (sum(a.total_pages) * 8) / 1024 as TotalSpaceMB,    (sum(a.used_pages) * 8) / 1024 as UsedSpaceMB,    (sum(a.data_pages) * 8) / 1024 as DataSpaceMBFROM    sys.tables tINNER JOIN     … Continue Reading

    Read More: How to find out highest table size in sql server 2014 ?
  • Ameer Khan

    Sep 15, 2016

    How to install single node hadoop cluster on Centos 6

    What is hadoop?Hadoop is an open-source framework to store and process Big Data in a distributed environment. It contains two modulesone is MapReduce and another is Hadoop Distributed File System (HDFS). •MapReduce: It is a parallel programming model for processing large amounts of structured, semi-structured, andunstructured data on large clusters of commodity hardware. •HDFS:Hadoop Distributed… Continue Reading

    Read More: How to install single node hadoop cluster on Centos 6
Previous Page
1 … 15 16 17 18 19 … 33
Next Page

Ameer Fahad Ali Khan.

Cloud Architect

  • Home
  • Blog
  • About Me

© Copyright 2025 Ameer Fahad Ali Khan. All rights reserved.