Viewing 15 posts - 13,606 through 13,620 (of 13,876 total)
You should get a performance improvement if you take the dynamic getdate() out of the queries ...
declare @now datetime
set @now = getdate()
INSERT INTO monitordata
SELECT * FROM data (NOLOCK) WHERE DATEDIFF(hh,time_stamp,@now)...
December 22, 2004 at 6:03 pm
Agree with this. Alternatively, you could create a 'Payment Number' field (1, 2, ...) in both tables and then match on Voucher Number and Payment Number to perform the...
December 21, 2004 at 6:38 pm
Sounds like you are performing integer division (the result of dividing one integer by another is an integer - so if the real result is < 1, the result you...
December 20, 2004 at 3:16 pm
Hmmmm ... maybe you should accelerate your migration to SQL Server and all of your problems (well, this one anyway) will go away ![]()
I'd...
December 20, 2004 at 2:57 pm
Aha. No, views do not exist in Access - the closest equivalent is a straightforward query.
You will notice in Access when you are building a query (using the 'create...
December 19, 2004 at 8:57 pm
Quick solution ...
Haven't looked too much at your code - don't have two hours spare
, but have you thought about creating 2 views (one...
December 19, 2004 at 6:33 pm
When you say a 'local' database, do you mean SQL Server, or something else (eg Access)?
How are you performing the export?
I tried this using the DTS export table wizard and...
December 19, 2004 at 1:52 pm
Check out the sp_rename stored procedure in BOL. Haven't used it myself, but it looks as though you can script your required changes fairly easily if you use it.
Regards
Phil
December 18, 2004 at 6:22 pm
Launch Enterprise Manager and navigate to Management/SQL Server Agent/Jobs. Right-click in the Jobs window and select 'New Job'. Give the job a name and click on the Steps...
December 18, 2004 at 6:19 pm
Your error message is not appearing - please add it to your post.
December 2, 2004 at 11:36 pm
If SQL Server is powering a web app, you cannot buy a licence that refers to CALs and must instead purchase a 'processor' licence.
So you need the standard edition with...
December 2, 2004 at 5:43 pm
Please post the query that is generating the error and details of how it is submitted - eg are you using a pass-through query in Access?
You may be receiving the...
December 1, 2004 at 5:11 pm
Try this in Northwind (try varying the table_name in the WHERE clause) and you should be on the right track:
select a.constraint_name, b.column_name from information_schema.table_constraints a
inner join information_schema.constraint_column_usage b
on a.constraint_name =...
December 1, 2004 at 5:05 pm
I actually think that the JOIN method will execute faster than the subquery I proposed. However, the subquery method is easier IMO to write and I had a hangover...
November 24, 2004 at 4:59 pm
Viewing 15 posts - 13,606 through 13,620 (of 13,876 total)