you are provided with the single table having say 4 col ie
fname lname age city , now the all records with displying of
only fname and lname is required but in this format say my
name is abhay khanna it will come like this
abhay-khanna
rahul-roy
gaurav-singh
the above format is required
Answer Posted / radhakrishnan
select replace('radha krishnan',' ','-')
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Difference between Logical Page and Physical Page in SSRS.
What is data source view or dsv? : sql server analysis services, ssas
What are the components of dbms?
This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?
what's sql server? : Sql server database administration
What are the types of subscriptions in SQL Server replication?
What are three major types of constraints?
When multiple after triggers are attached to sql table, how to control the order of execution?
What are partitioned views?
What are translations and its use? : sql server analysis services, ssas
Explain four layers of abstraction microsoft architectured?
How would you go about developing a ssrs report?
Can you get second highest salary from the table?
How many types of the database links?
Can group functions be used in the order by clause in ms sql server?