I have table in which I have hotel names but some columns have Null hotel names. Now I want to get only those columns having hotel names or I don't want to get null column values from table.
My stored procedure that I wrote is
Alter PROCEDURE [dbo].[p_Get_HotelNamess]
AS
BEGIN
SET NOCOUNT ON;
SELECT
Hotel_Info.Hotel_Name, Hotel_Info.HotelID
FROM
Hotel_Info
END
Hotel_NamefieldNot null.