MSSQL Questions and Answers

Recent IT Questions

1 - 4 of 4
<<PREVIOUS 1 NEXT>>

ms sql query problem with a case statement

[strong]This code works: SELECT     passengers.*, passship.passship_name AS name, passship.passship_speed AS speed, passship.passship_size AS cargo, hyperjump.hops AS hops, ROUND((passengers.pass_engers * passengers.pass_price) / (hyperjump.hops * passship.passship_speed), 0) AS ptprofit...

View Answer   |  Oct 10 2009  3:02 AM GMT
MSSQL, SQL, CASE statement
asked by Rinkratt

  20 pts.

Getting last entries from two different tables

Hi, I need to get the last entries from two different tables in MSSQL. I can get the last entry for one table by usung the following. SELECT * FROM dbo.Shaft_Scales WHERE dbo.Shaft_Scales.ID = (SELECT max(ID) from dbo.Shaft_Scales ID) The problem is adding another table. Please help

View Answer   |  Sep 28 2009  7:29 AM GMT
MSSQL, SQL tables
asked by GPNel2006

  75 pts.

EMC networker MSSQL Restore hangs

I am trying to restore the model database on a EMC MSSQLv5.1 client The EMC server is version 7.4.2 When running the restore we can see no activity on the Client and in the Networker console it shows the server as "browsing". In the devices tab no tapes are loading and nothing is reading from...

Answer Question   |  May 13 2009  5:25 PM GMT
EMC, MSSQL, EMC Server 7.4.2
asked by Shaun5369

  10 pts.

SQL Find a number between the given ranges of number / Find a row which has range of given number

I am facing a problem in MSSQL: - I have a table in MSSQL, which has 10 rows & 5 columns. In this table I am maintaining a numeric range in 2 columns. First one has starting number & second column has end number. All rows have unique values in these 2 columns. For Ex.: - In first row the value in...

View Answer   |  Dec 5 2008  2:53 PM GMT
SQL, MSSQL, SQL tables
asked by Bsethi24

  5 pts.

1 - 4 of 4
<<PREVIOUS 1 NEXT>>