Jai Janardhan has Published 69 Articles

How can we change the name of a MySQL table?

Jai Janardhan

Jai Janardhan

Updated on 20-Jun-2020 06:04:15

105 Views

RENAME command is used to change the name of a MySQL table. Its syntax is as follows −RENAME table old_tablename to new_tablename2;ExampleIn the example below, we rename the table ‘testing’ to ‘test’.mysql> RENAME table testing to test; Query OK, 0 rows affected (0.17 sec) mysql> Select * from testing; ... Read More

How can we apply a NOT NULL constraint to a column of an existing MySQL table?

Jai Janardhan

Jai Janardhan

Updated on 19-Jun-2020 11:27:51

311 Views

We can apply the NOT NULL constraint to a column of an existing MySQL table with the help of ALTER TABLE statement. SyntaxALTER TABLE table_name MODIFY colum_name datatype NOT NULL; Examplemysql> Create table test123(ID INT, Date DATE); Query OK, 0 rows affected (0.19 sec) mysql> Describe test123; +-------+---------+------+-----+---------+-------+ | Field ... Read More

Advantages and Disadvantages of the OSI Model

Jai Janardhan

Jai Janardhan

Updated on 17-Jun-2020 12:44:51

22K+ Views

The advantages of the OSI model areIt is a generic model and acts as a guidance tool to develop any network model.It is a layered model. Changes are one layer do not affect other layers, provided that the interfaces between the layers do not change drastically.It distinctly separates services, interfaces, ... Read More

The Transport Layer of OSI Model

Jai Janardhan

Jai Janardhan

Updated on 17-Jun-2020 12:42:33

6K+ Views

The transport layer (Layer 4) is responsible for delivery of an entire message from an application program on the source device to a similar application program on the destination device.The main functions of the transport layer are as follows −It delivers a message from a specific process of one computer ... Read More

Protocol and Protocol Hierarchies

Jai Janardhan

Jai Janardhan

Updated on 17-Jun-2020 12:27:11

7K+ Views

A protocol is a set of rules and conventions agreed upon and followed by the communicating entities for data communication. A protocol outlines the what, how and when of a communication.The three aspects of a protocol are −Syntax − It defines the format of data that is to be sent ... Read More

Connection-Oriented Services

Jai Janardhan

Jai Janardhan

Updated on 17-Jun-2020 12:24:55

6K+ Views

A connection-oriented service is one that establishes a dedicated connection between the communicating entities before data communication commences. It is modeled after the telephone system. To use a connection-oriented service, the user first establishes a connection, uses it and then releases it. In connection-oriented services, the data streams/packets are delivered ... Read More

Basic Network Hardware

Jai Janardhan

Jai Janardhan

Updated on 17-Jun-2020 11:02:31

23K+ Views

The basic computer hardware components that are needed to set up a network are as follows −Network CablesNetwork cables are the transmission media to transfer data from one device to another. A commonly used network cable is category 5 cable with RJ – 45 connector, as shown in the image ... Read More

Comb Sort

Jai Janardhan

Jai Janardhan

Updated on 15-Jun-2020 14:29:38

994 Views

The basic idea of comb sort and the bubble sort is same. In other words, comb sort is an improvement on the bubble sort. In the bubble sorting technique, the items are compared with the next item in each phase. But for the comb sort, the items are sorted in ... Read More

Java Variable Widening Example

Jai Janardhan

Jai Janardhan

Updated on 15-Jun-2020 05:56:52

791 Views

Widening refers to passing a lower size data type like int to a higher size data type like long. No casting is required in such a case.public class MyFirstJavaProgram {    public static void main(String []args) {       int a = 300;       long b = a;       System.out.println(b);    } }

Viewing field names or tables names of the forms in SAP Business One

Jai Janardhan

Jai Janardhan

Updated on 12-Jun-2020 12:42:05

774 Views

It is possible that the older version of SAP B1 may not show you all the fields of all the forms. If you have the latest version, you should be able to see the data sources that are mapped to given field. You need to open the forms in SAP ... Read More

Advertisements