Viewing 15 posts - 5,881 through 5,895 (of 7,636 total)
Any indexes or keys? Can you post the .SQLPLAN file?
August 18, 2008 at 4:27 pm
This query:
Select * from sys.tables
will give you both create and modify dates. I do not believe that create and modify dates are maintained for columns.
August 18, 2008 at 2:52 pm
Note that this works also and requires only one SELECT:
SELECT account
, COUNT(*) AS [count]
, Count(*) Over(Partition By 1) as [Total_Groups]
FROM #dxhistory
WHERE rank = 1
GROUP BY account
HAVING COUNT(*)...
August 18, 2008 at 2:44 pm
Note that this is different on SQL Server 2005 than it is on SQL Server 2000. You would probably not have the same problem on a remote linked 2005...
August 18, 2008 at 2:30 pm
This will also work with you current formula, just by adjusting it by 2 days:
Select cast(25567 + 1205894254/86400 as datetime)
union all Select cast(25567 + 1205895171/86400 as datetime)
union all...
August 18, 2008 at 2:07 pm
We cannot really tell you much in this case, without more information. Please see this article on how to provide this info: http://www.sqlservercentral.com/articles/Best+Practices/61537/
August 18, 2008 at 9:59 am
bcronce (8/15/2008)
update Entropy with select convert(bigint,HashBytes('SHA1', convert(varchar(255), number )+convert(varchar, getdate(),121) ))
Hmm, I thought the Crypto functions were off the table?
August 15, 2008 at 12:46 pm
Can you just give us the before and after *.SQLPlan files?
August 15, 2008 at 11:05 am
Lowell (8/15/2008)
rbarryyoung (8/15/2008)
August 15, 2008 at 11:03 am
andrew gothard (8/15/2008)
Yeah, that's the View/Query Designer. It's awful and NO ONE should EVER use it. (there's another one of those rules, again)
Sorry - totally disagree. Give me...
August 15, 2008 at 10:33 am
This raises an interesting question: how quickly can we generate an acceptably random pseudo-random sequence in SQL Server, without resorting the obvious built-in functions (rand, NewID, Checksum, the crypto...
August 15, 2008 at 9:52 am
Peso (8/14/2008)
OP never wrote "unlimited" number of random records.He wrote he needed random records with 4 characters in length that would never [from the original set] repeat.
Fair enough. My...
August 15, 2008 at 9:37 am
Well, I think that you would need to detach the database before you removed the drive.
August 14, 2008 at 4:44 pm
Viewing 15 posts - 5,881 through 5,895 (of 7,636 total)