IN Vs OR operator which is best to use sql server.4 8292
why cluster and non clusterindex are used in sqlserver 2000? explain with example1 3195
hi, may i know what is the command to get abstract the current month, current year and current day from a given date.i want these three in a isolated way..seperatedly is that any way in sql server 20003 3874
how to select a field with firstletter as capital and remaining are small letters11 11786
How to write stored procedure to update the data in 10 tables4 10732
How to write query to Delete the records in child table and corresponding records in parent table11 26841
Is it possible to have more then one foreign key in a single table? if possible, is this the good way to design the table?2 4258
Assume,there are three tables in a database, Can i have both primary key and foreign key for each table in the same database?4 5246
what is curser.9 6623
OPTIMIZATION OF SP,CURSOR,TRIGGERS
You are doing log shipping due to some reasons it is failing. How you will proceed from there
Tell about MOM Tool(Microsoft Operator Manager)?
what are the Prerequisites for Replication?
How can we call UDF(User Define Function) using C# code in ASP.net ?
Why we need to use secondry database file? though, we can do same work using primary database file also.
How we create SQL Server 2005 Reporting Services ? Give me Sample
How you trouble shoot when any job fails
sql database suspect We have a sql database that is showing as suspect. How can we recover?
code to create procedure for taking databse backup in sql server or i have the query for it but what it's query returns means i want to show on my jsp that the databse backup has been taken on the basis of that return value.does it returns 0 or 1.wat is the code for that
I have a table Events Events containing cardno,time,id,name--each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible
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 is difference between view and Dip.
hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.