GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Database  >  Sybase
Go To First  |  Previous Question  |  Next Question 
 Sybase  |  Question 13 of 56    Print  
How is a Sybase table created?

  
Total Answers and Comments: 1 Last Update: July 05, 2007     Asked by: scott 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 05, 2007 07:29:08   #1  
Ganapathi Masilamani        

RE: How is a Sybase table created?

Live table will be created using:

1.

Create table


(

column name datatype

)


2.

Select * into from


e-x: select * into new_emp from emp


Temp Table will be created using:

1.

Create table <#table name>

(

column name datatype

)


2.

Select * into <#live table> from

e-x: select * into #emp from emp



 
Is this answer useful? Yes | No

 Related Questions

There are 2 tables, Employee and Department. There are few records in employee table, for which, the department is not assigned. The output of the query should contain all th employees names and their corresponding departments, if the department is assigned otherwise employee names and null value in the place department name. What is the query?
Read Answers (11) | Asked by : RK

Latest Answer : But this will remove all the db constraints from the table.... am I right...so we can do the same like as follows:select * into temp_1 from Original ---so no constraints are droppedtruncate table Originalinsert into Originalselect distinct * from temp_1drop ...
Read Answers (6) | Asked by : Pat

Latest Answer : I think you can use below one..select * from (select * from table_name order by asce)where rownum >=2 ...
Read Answers (20) | Asked by : kosmos

Latest Answer : Oracle has PL/SQL for stored procedures whereas Sybase uses T-SQL ...
Read Answers (2) | Asked by : ramesh

Latest Answer : Let me clarify that while Sybase does not have "Object Tables" it can hold BLOBS in columns in tables. These can be of datatype TEXT or IMAGE.Sybase has the concept of Temporary tables in the form of #temp_tables or tables residing in the tempdb database.A ...
Read Answers (2) | Asked by : Senthil

Latest Answer : Before knowing about Sybase transaction commit it is first essential to know about Sybase transaction. Sybase transaction is nothing but a number of SQL statements paced and handled between Sybase BEGIN TRANSACTION and Sybase COMMIT or ROLLBACK statement. ...
Read Answers (1) | Asked by : sripri

Latest Answer : 1. Select * from <database name>..<Table name> 2. Use <database name> go ...
Read Answers (2) | Asked by : scott

Latest Answer : Live table will be created using: 1. Create table ( column name datatype ) 2. Select * into from e-x: select * into new_emp from emp Temp Table will be created using: 1. Create table &LT;#table name&GT; ( column name datatype ) ...
Read Answers (1) | Asked by : scott


Latest Answer : Absolutely there are numerous features but most important are as follows1. Manages User Connection2. Enforces Business Rules3. Provide Recovery and BackUps4. Understand T-SQL5. Optimize Query Execution6. Maintain Databases with NO Redundancy7. Supports ...


 Sponsored Links

 
Related Articles

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

Performing XSLT Transformations inside the Database

Performing XSLT Transformations inside the Database Now that you have the employees XSL stylesheet stored in the database and the xmlusr schema is permitted to access the hr employees table you can create a script that will instruct the database to build an HTML page based on the data stored in hr e
 

Moving All the XML Processing into the Database

Moving All the XML Processing into the Database In the preceding example the database server performs only a part of the XML processing while the rest is still performed by the PHP engine Specifically the database server generates an employees XML document based on the records from the hr employees
 

Performing XML Processing inside the Database

Performing XML Processing inside the Database When building XML enabled applications on top of Oracle there are many advantages to performing the XML processing inside the database when compared to performing it on the client The key advantages to perform XML processing inside the database are as fo
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

jQuery Table Row Finished Code

jQuery Table Row Finished Code The Finished Code Our second example page has demonstrated table row striping highlighting tooltips collapsing expanding and filtering Taken together the JavaScript code for this page is mosgoogle geshibot lang php&quot; document ready function var highlighted
 

jQuery Expanding and Collapsing Table Rows

jQuery Expanding and Collapsing Table Rows The expanding and collapsing behavior added earlier also conflicts with our filters If a section is collapsed and a new filter is chosen then the matching items are displayed even if in the collapsed section Conversely if the table is filtered and a section
 

jQuery Table Row Filtering

jQuery Table Row Filtering Earlier we examined sorting and paging as techniques for helping users focus on relevant portions of a table s data We saw that both could be implemented either with server side technology or with JavaScript Filtering completes this arsenal of data arrangement strategies B
 

jQuery Collapsing and Expanding Table Rows

jQuery Collapsing and Expanding Table Rows When large sets of data are grouped in tables as each year s set of articles are in our News page collapsing or hiding a section s contents can be a convenient way to get a broad view of all of the table s data without having to scroll so much mosgoogle To
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape