Viewing 9 posts - 1 through 9 (of 9 total)
Thanks for the reply. Do you have any other ideas for a solution to my problem?
Could I use stored procedures instead of functions perhaps?
Can a I make a stored procedure...
April 4, 2007 at 3:06 am
Thanks for the input!
I will try Views and Table Variable and see if any of them are possible solutions.
October 12, 2005 at 6:35 am
Yes I have indexes on all Primary keys ( as default by SQL server ). And the primary keys are the columns that I use to link tables together.
The query...
October 12, 2005 at 3:47 am
Uhmm quite large/complex but simplified they look like this:
ObjectTable (2 millions)
Uniqueidentifier, int, int, varchar(50),int, int, varchar(50) etc. mostly 200 columns.
PermissionTable1 (2 millions) Each object has one row in this table
Uniqueidentifier,...
October 11, 2005 at 2:49 am
Thanks for the advice.
I tried Bulk Insert using a little test application and I will probably manage to insert my data in hours instead of weeks.
/Joel
September 20, 2005 at 8:18 am
Umm to clarify my last post.
ORDER must be used to be sure.
I only tried to explain that you have to have ALOT of rows to find that out in tests...
May 12, 2005 at 7:53 am
In my query ,in which I had one clustered index, It returned the same order EVERY time until i had more than 98.000 rows returned. After that I got random order.
May 12, 2005 at 7:51 am
Thanks for the answers,
I forgot to add the ORDER BY clase I realised that
Still strange that I didn't get the data in order...
May 12, 2005 at 5:25 am
Humm nevermind, I found the problem.
My Query didn't return the rown in the same order every time. Doh.
May 12, 2005 at 3:41 am
Viewing 9 posts - 1 through 9 (of 9 total)