Technology Questions

Q:

What is NTFS?

Answer

NTFS is short for New Technology File System. It is the standard file system that is being used by operating systems starting from Windows NT, Windows 2000, Windows XP, and even the newer versions like Vista and 7. It was originally designed to have a better performance on file storage and retrieval under the Windows NT family.

Report Error

View answer Workspace Report Error Discuss

0 2951
Q:

How do you destroy a particular or all Sessions?

Answer

<?php
session_start();
// store session data
$_SESSION['views']=1;
unset($_SESSION['views']); // If you wish to delete some session data, you can use the unset()
session_destroy(); // You can also completely destroy the session by calling the session_destroy() function. session_destroy() will reset your session and you will lose all your stored session data.
?>

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2949
Q:

How does the PeopleSoft database interact with the Oracle?

Answer

A Peoplesoft database is expression which point out a database containing Peoplesoft objects. For Oracle and only for Oracle, Peoplesoft consists in 3 schemas namely:


- PS (PSDBOWNER table owner),


- PEOPLE (for connection checking) and


- SYSADM (by default), the last one contains all the objects/data.


One of the database objects is connected with single Oracle schema, and all processes that connect to the database use the standard PSFT login procedure. PSFT login is used because to refer to the collection of tables in the administrative schema within an Oracle database. Every process that makes a 2-tier connection to the database identifies itself with a PSFT user or operator ID. Hence the interaction goes.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2938
Q:

What JSON framework is supported by iOS (iPhone OS) ?

Answer

  • SBJson framework is supported by iOS.

  • It is a JSON parser and generator for Objective-C (Objective-C is the primary programming language you use when writing software for OS X and iOS. It is a superset of the C-programming language and provides object-oriented capabilities and a dynamic runtime).

  • SBJson provides flexible API's and additional control that makes JSON handling easy.

Report Error

View answer Workspace Report Error Discuss

8 2933
Q:

What is plug and play ?

Answer

Plug and Play is a technology wherein hardware components that are installed on PCs using Microsoft operating system are immediately recognized and made usable. This means that the drivers necessary to make it work are already available on the operating system package.

Report Error

View answer Workspace Report Error Discuss

2 2933
Q:

What is a REPL in context of Node.js?

Answer

Read - Reads users input, parse the input into JavaScript data-structure and stores in memory


Eval - Evaluates the data structure


Print - Prints the result


Loop - Loops the above command until user press ctrl-c twice

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 2931
Q:

What is Catalog Manager? How to move reports and dashboards using Catalog Manager?

Answer

Catalog Manager supports command line options.


 


To move reports and dashboards, we need to use some general syntax using catalog manager.


 


e.g:


catalogmanager -online/offline


-cmd {report | replace | export}


{command line options}


In extra, by keeping it online, This will automatically open up the catalog 


manager without having the need to enter the connection details every time.

Report Error

View answer Workspace Report Error Discuss

0 2929
Q:

What is difference between DELETE and TRUNCATE commands?

Answer

Delete command removes the rows from a table based on the condition that we provide with a WHERE clause. Truncate will actually remove all the rows from a table and there will be no data in the table after we run the truncate command.


TRUNCATE:


- TRUNCATE is faster and uses fewer system and transaction log resources than DELETE.


- TRUNCATE removes the data by deallocating the data pages used to store the table's data, and only the page deallocations are recorded in the transaction log.


- TRUNCATE removes all rows from a table, but the table structure, its columns, constraints, indexes and so on, remains. The counter used by an identity for new rows is reset to the seed for the column.


- You cannot use TRUNCATE TABLE on a table referenced by a FOREIGN KEY constraint. Because TRUNCATE TABLE is not logged, it cannot activate a trigger.


- TRUNCATE cannot be rolled back.


- TRUNCATE is DDL Command.


- TRUNCATE Resets identity of the table


DELETE:


- DELETE removes rows one at a time and records an entry in the transaction log for each deleted row.


- If you want to retain the identity counter, use DELETE instead. If you want to remove table definition and its data, use the DROP TABLE statement.


- DELETE Can be used with or without a WHERE clause


- DELETE Activates Triggers.


- DELETE can be rolled back.


- DELETE is DML Command.


- DELETE does not reset identity of the table.


Note: DELETE and TRUNCATE both can be rolled back when surrounded by TRANSACTION if the current session is not closed. If TRUNCATE is written in Query Editor surrounded by TRANSACTION and if session is closed, it can not be rolled back but DELETE can be rolled back.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 2929