Welcome to Sign in | Help

Re: Parametru tip int

  •  09-05-2007, 1:23 PM

    Re: Parametru tip int

    Se poate de asemenea imagina si o solutie pe baza de "dynamically build SQL statement" - poti de exemplu concatena 'SELECT <lista_campuri'> FROM tabel WHERE tip IN(', CAST(<valoare_numerica> AS varchar(2)),.......,')'. Intre valorile numerice nu uita sa adaugi virgule...Smile

    Apoi poti folosi sp_executesql pentru sirul rezultat.

     

View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems