Viewing 15 posts - 376 through 390 (of 748 total)
GSquared (11/29/2011)
In the Order By, you can put a Case statement like:
Order...
November 29, 2011 at 12:01 pm
Thanks for all the help and concern about the preciseness about the date/time. The project doesn't require that precise at this time.
November 24, 2011 at 2:24 pm
LutzM (11/24/2011)
Based on more than 500 points on your side I would have expected you know how to provide ready...
November 24, 2011 at 1:47 pm
I just figured out these queries to pull out data:
--Since last year
select LastUpdatedOn from infosys where datediff(dd, LastUpdatedOn, getdate() ) <= 365
--Since year to end
SELECT LastUpdatedOn From Infosys where LastUpdatedOn...
November 24, 2011 at 1:44 pm
For a test I wrote this query and hoping to get all records within the last year (<=365 days), but it gives me more than that:
select LastUpdatedOn from infosys
where datediff(dd,...
November 24, 2011 at 1:28 pm
Thank you but I don't think that answered the question:
say the table has two columns: ID, LastUpdatedOn
It has records like:
42009-02-13 17:43:33.110
122009-03-02 11:54:19.590
142010-10-13 18:13:46.470
162011-02-11 10:43:45.503
172010-09-29 14:18:12.720
182010-05-22 18:00:20.680
192009-04-16 16:02:07.540
202008-11-12 12:39:07.343
212009-10-13...
November 24, 2011 at 1:13 pm
Cause identified! It turned out that I was missing some privileges in the server, I can't create database! That's why although I installed it, it was actually never been installed...
October 20, 2011 at 11:31 am
I found mdf file for the sample database, however I failed with this:
TITLE: Microsoft SQL Server Management Studio
------------------------------
Cannot show requested dialog.
------------------------------
ADDITIONAL INFORMATION:
Parameter name: nColIndex
Actual value was -1. (Microsoft.SqlServer.GridControl)
------------------------------
BUTTONS:
OK
------------------------------
October 20, 2011 at 9:29 am
Actually in the instance dropdownlist, it doesn't allow me to manually type in anything.
October 20, 2011 at 7:27 am
And Management Studio does see a localhost and all the system databases! So the instance does exist.
October 19, 2011 at 2:23 pm
I just did it again: this time I noticed the problem might be because the "installation instance" is empty when I installed it. Why it is empty? and I can't...
October 19, 2011 at 2:20 pm
DBCC CHECKDB didn't find out any error in the database, is there other method that I can check the health of the database? I am sure there is some problem...
October 14, 2011 at 8:22 am
GilaMonster (9/13/2011)
halifaxdal (9/13/2011)
Ninja's_RGR'us (9/13/2011)
Get Gail in for a consult. Can't be done over forums.I would love to, but if that costs any expense, then I personally can't make it.;-)
Absolutely,...
September 13, 2011 at 8:24 am
A backup room is being seeked and hopefully we find it so we don't have to do the fix on the real prod server
September 13, 2011 at 8:06 am
OK, back to the topic, it would be greatly appreciated if you can watch this more like a realtime, I will be having a conf with the original db's tech...
September 13, 2011 at 7:58 am
Viewing 15 posts - 376 through 390 (of 748 total)