Month: June 2022

3.4.8 Add/Delete Constraint

3.4.8 সীমাবদ্ধতা যোগ/বিলোপ কৰক Suppose you have created the table ‘student’ without specifying any primary key, in such a case, the following query: ধৰি লওক আপুনি কোনো প্ৰাথমিক কী নিৰ্দিষ্ট নকৰাকৈ তালিকা ‘ছাত্ৰ’ সৃষ্টি কৰিছে, এনে ক্ষেত্ৰত, নিম্নলিখিত প্ৰশ্ন: ALTER TABLE student ADD PRIMARY KEY (Roll No); তালিকা সলনি কৰা শিক্ষাৰ্থী প্ৰাথমিক কী যোগ কৰক…

Read the full article

3.4.7 Destroying Tables

3.4.7 তালিকা ধ্বংস কৰা Sometimes, we are required to permanently delete a table along with its structure. The syntax for this command is: DROP TABLE (IF EXISTS] <TableName>; কেতিয়াবা, আমি টেবুল এখনৰ গাঁথনিৰ সৈতে স্থায়ীভাৱে বিলোপ কৰিব লাগিব। এই কমাণ্ডৰ বাবে চিনটেক্স হৈছে: ড্ৰপ টেবল (যদি আছে] ; The keyword IF EXISTS can be used…

Read the full article

3.4.6 Renaming a Table

3.4.6 তালিকা এখনৰ নাম সলনি কৰা হৈছে To rename a table, the syntax is টেবল এখনৰ নাম সলনি কৰিবলৈ, বাক্যবিন্যাস হৈছে ALTER TABLE <Old Table Name> RENAME [TO] <New Table Name>; তালিকা সলনি কৰক <পুৰণি তালিকাৰ নাম> পুনৰ নামকৰণ [টিও] <নতুন তালিকাৰ নাম>;

3.4.5 Dropping a Column

3.4.5 স্তম্ভ এটা বাদ দিয়া This means to delete a column. ইয়াৰ অৰ্থ হৈছে স্তম্ভ এটা বিলোপ কৰা। The syntax of This command is: এই কমাণ্ডৰ বাক্যবিন্যাস হৈছে: ALTER TABLE <Table Name> DROP <Column Name>; তালিকা <তালিকাৰ নাম সলনি কৰক> <স্তম্ভনাম বাদ দিয়ক>; ALTER TABLE <Table Name> DROP <Column Name1>, <Column Name =2>,—; তালিকা <তালিকাৰ…

Read the full article