i know I can replicate views to table (only indexed views) and i know i can use a query to replicate to table. But my question is HOW? I could select "indexed view logbased" in SQL Server 2000 when setting up replication to replicate to a table but it's not available in SQL Server 2005.
Malik, you cannot (so far as I can tell) do that through the GUI or Wizards, but you can do it through scripting and stored procedures.
After you create most of your publication, add the indexed view using @Type = 'Indexed View logbased'
On trick you can use to get the Gui to do most of the work, is have it generate the script to add the indexed view, but don't let it actually run it. Instead take the script to SSMS and change the @type parameter from the default of "indexed view schema only" to "indexed View logbased".