Viewing 15 posts - 13,126 through 13,140 (of 13,876 total)
I guess the good thing about using views is that they are always up-to-date. You can just grab the data out of their database whenever you want (subject to load...
April 3, 2006 at 6:04 am
If the data that is coming out of the examination system contains rubbish as a result of bad design, that should not be your problem. You will end up building...
April 3, 2006 at 5:16 am
Great - I like stories with happy endings ![]()
April 2, 2006 at 3:17 am
Create a table that contains just numbers - 0, 1, 2, 3, ..., 1000 say.
Then do a CROSS JOIN to this table from your label data source, where newtable.num < number of...
April 1, 2006 at 5:14 am
Like this? I don't know SQLLite.
select datepart(dw, getdate())
April 1, 2006 at 5:07 am
You are correct in stating that the first piece of SQL identifies all the latest owners and their assets, but by performing a self join back to the orig table...
March 31, 2006 at 8:13 am
Not strange really. MS Access is a database, a development environment, an end-user environment ... it tries to do pretty much everything.
SQL Server is a pure database environment - it...
March 31, 2006 at 7:12 am
Something like this ... ?
select myTable.ID, myTable.AssetID, myTable.UserID, myTable.DateUpdated
from myTable join (select t2.assetID, max(t2.dateupdated) from myTable t2 group by t2.assetid) t3 on myTable.AssetID = t3.AssetID and myTable.DateUpdated = t3.DateUpdated
where...
March 31, 2006 at 5:19 am
OK - that's Analysis Services, not straight T-SQL. Analysis Services is one of Microsoft's business intelligence tools (design of OLAP cubes etc). It is complementary to SQL.
March 31, 2006 at 5:11 am
VBA functions do not work directly within chunks of T-SQL, as far as I know. Please post the quote from BOL that says they do.
March 31, 2006 at 4:15 am
This works for periods less than 1 day.
declare @secs float
set @secs = 15000
select convert(char(8), cast(@secs / 86400 as datetime), 8)
March 31, 2006 at 2:59 am
No, nothing like INSERT UNIQUE - your query is fine.
March 30, 2006 at 1:41 am
Do you have a backup of the database anywhere?
If not, you are in trouble.
March 30, 2006 at 1:39 am
Viewing 15 posts - 13,126 through 13,140 (of 13,876 total)