You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?
1538How do you recover a datafile that has not been physically been backed up since its creation and has been deleted. Provide syntax example.
1 2652What are the differences between a sys and system user and what are the extra privileges available to the sys user?
1 5062what are parameter, we can check after creating a database in terms of QC and for each tables what should be the parameters for QC and QA?
2261Syntax to find the used space and free space of the Data file in a database(SQL Server). Following queries didn't give the exact Used space and Free Space Information sp_spaceused;DBCC showfilestats;exec MyDbName.dbo.sp_spaceused;SP_HELPFILE Can any one tell me the query for how to find the exact used data file space and free space in a Data File?
2 6949How to generate the Reports for the Database? I need an Example for it.Will we manually do this or else any script is there? Please let me know ASAP...
1 3401When we are using this query to shrink the log file,what
exactly it will execute internally? Do we lose any data
when we run this script? which data it will truncate in the
log file and where it is saved. Please let me know...
USE DatabaseName
GO
DBCC SHRINKFILE(
one of my database size is 2gb and Unrestricted Growth for Data file up to 10%.But every day after day I am getting Primary Data file is full 99.999 please take appropriate actions.Why it is? Even disk space is also not full,but still I am getting the alerts.
1 4791How to restart SQL Server in single user mode? How to start SQL Server in minimal configuration mode?
2 4661Hi all, I need query help for below senorio, could you please help me. TableName = City CITYID ContinuationID CITYNAME 1 1 SAN 1 2 DIEGO 2 1 SAN 2 2 FRANCISCO 3 1 CHICAGO 4 1 NEW 4 2 YORK 4 3 CITY Could you please help me to write a generalized SQL that returns results as given below in the Query result CITYID NAME1 NAME2 NAME3 NAME4 NAME5 1 SAN DIEGO 2 SAN FRANCISCO 3 CHICAGO 4 NEW YORK CITY
TCS,
5 7780
Which is faster statement or preparedstatement?
How do you open tables in pgadmin?
Is sql a database?
What does tinyint mean?
Explain tablesample?
What is procedure in pl sql?
What is extended stored procedures?
What language does mysql use?
What is the latest version of postgresql?
How can you fetch alternate records from a table?
What are the tradeoffs between many vs few indexes? When would you want to have many, and when would it be better to have fewer?
What is tkprof and how can we use it?
What is database design and development?
Can we store files in mysql?
Can we insert data into view sql server?