Viewing 15 posts - 76 through 90 (of 992 total)
Dates, sadly, are not universally formatted. As Peso said, there's an ISO way of supporting dates which doesn't have the hyphens. If you want to both self-document your...
February 27, 2008 at 2:28 am
I think perhaps you've missed something here. You write a subroutine (stored procedure, function, view, etc) in SQL to interact with a specific set of tables. Passing table...
February 27, 2008 at 2:22 am
Your example of using sp_executesql is probably the best way to go about doing complex dynamic SQL queries. You build up the overall query with appropriate blocks of SQL...
February 27, 2008 at 2:20 am
You've put "Database triggers" in quotes. What do you want to accomplish? Perhaps you can get similar functionality in SQL 2000 if you let us know your goals?
February 27, 2008 at 2:15 am
Look up http://msdn2.microsoft.com/en-us/library/ms189749.aspx - you could take an application lock in a trigger on the first table and then check for the presence of that lock in the...
February 26, 2008 at 3:15 am
I think you might be making life difficult for yourself. What if you need to do row-level security in the future?
Since all non-administrators will have access only via the...
February 26, 2008 at 2:37 am
Is the SQLBrowser service running?
February 26, 2008 at 2:21 am
You wish to really join two sets of information - the start dates and the finish dates. There are numerous ways to get this information. One could be
select...
February 25, 2008 at 4:28 am
Can you post your looping code? Chances are that you're doing the delete in one BIG transaction rather than lots of little transactions.
Try something like
SET ROWCOUNT 10000
while exists(select *...
February 25, 2008 at 4:22 am
I was about to post the same thing - from a maths background you can consider null in similar ways to infinity.
Infinity <> infinity, Infinity * X = Infinity.
I think...
February 25, 2008 at 1:41 am
If you're unsure, use the GUI tools but instead of saving your changes have it save a script for you.
February 23, 2008 at 9:45 pm
Hmmm - you've posted this to the wrong forum.
In any case, what do you mean by you "want" the records?
Do you want the first 5000 records to have some flag...
February 23, 2008 at 9:45 pm
I second Hugo - the kludge to do ordering in a view is not something to advocate. The SQL optimiser is efficient because it doesn't guarantee an order unless...
February 22, 2008 at 2:12 am
Dragon_sv's way should give you what you want. Make sure you have an appropriate index! 🙂
February 22, 2008 at 2:05 am
I've never worked with that product. Could you post some of the table structure? Can your client application work with MS SQL Server instead of MS Access?
I'd suggest...
February 22, 2008 at 2:02 am
Viewing 15 posts - 76 through 90 (of 992 total)