Viewing 15 posts - 15,046 through 15,060 (of 18,923 total)
Did you had any other more realistic tests in mind??
July 13, 2005 at 3:07 pm
Well the real pk of that table is priceless for that query :
Select * from dbo.MainTable M inner join dbo.Adresses A on M.UniqueId = A.UniqueId and A.RealPk = (Select...
July 13, 2005 at 2:52 pm
I won't be slowing down for you honey ![]()
![]()
. Did you...
July 13, 2005 at 2:48 pm
BTW you should really more looking into this :
to test the code :
exec dbo.pr__SYS_MakeAllRecordProc 'TableName', 1, 0
refresh the list of procs and see go see tablename_insert ...
You'll have...
July 13, 2005 at 2:46 pm
This is the missing part of Noeld's solution :
WHERE P.CORRESPONDENCE_ID=@corrid
What he meant was to pass multiple ids at once instead of calling this proc multiple times.
July 13, 2005 at 2:43 pm
How come uniqueid is not unique??? Is it a fk of some sort?
July 13, 2005 at 2:39 pm
This works on my pc... but I got many tables... so the end gets truncated... maybe you'd be better off doing loops of 20 views at the time. Also...
July 13, 2005 at 2:38 pm
You can always try to rebuild the data into the iso standard using string functions and retry the import.
July 13, 2005 at 2:28 pm
That's why I added an offset parameter.
But this is always a valid option :
Select top 33 percent from dbo.MyTable order by Newid(), this will be a true random sampling...
July 13, 2005 at 2:27 pm
I haven't always had a free hand, but when I proved everyone wrong around me (to the last argument), they gave it to me and never asked it back... best...
July 13, 2005 at 2:25 pm
Sorry but if the management (assuming untrained management here) forces you to do stuff like that, you're probabely better off starting to find a new job, or we'll be seeing...
July 13, 2005 at 2:24 pm
This is one way to do it... you can also use delete from join syntaxe. But it yields the same execution plan.
July 13, 2005 at 2:17 pm
You want to be the best, don't do like the rest
.
July 13, 2005 at 2:13 pm
So what was the problem?
July 13, 2005 at 2:12 pm
Viewing 15 posts - 15,046 through 15,060 (of 18,923 total)