User Profile

Collapse

Profile Sidebar

Collapse
njames
njames
Last Activity: Jun 4 '07, 05:37 AM
Joined: Jun 4 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • njames
    started a topic Questions regarding Bash Scripting.

    Questions regarding Bash Scripting.

    i have some doubts regarding bash scripting ,

    1) i need to display permission of a given file in the following format :

    Owner :

    Read
    Write

    Group :

    Read
    Write

    Others :

    Read
    Execute


    so i wrote this code :

    Code:
    echo -n "Enter Filename : " ; read fname ;
    
    # check if file
    ...
    See more | Go to post

  • njames
    started a topic Integrity Constraints

    Integrity Constraints

    There are two doubts regarding integrity constraints :

    1) Can the constraints "NOT NULL" and "DEFAULT" be assigned at table level ? i have tried using the syntax of CHECK constraint at table level,

    Code:
     constraint con1 not null (emp_id));
    and also the syntax of PRIMARY KEY constraint at table level,

    Code:
     not null (emp_id));
    i tried same syntax for DEFAULT constraint...
    See more | Go to post
No activity results to display
Show More
Working...