When I generate SQL scripts ( inside enterprise manager ), select script views and select object dependencies the script does not generate the depencies correctly. For instance View A depends on View B. The order of the script is create A, create B. The correct order should be create B, create A.

Any ideas why? All help is appreciated
Thanks
Alan