I have part of the following SQL statement:
'*********
SELECT
d_service_area. service_area AS ServiceArea,
d_environment.e nvironment AS Environment,
d_platform_func tion.platform_f unction AS Platform,
d_hw_type.hw_ty pe AS hdwType,
d_hardware.stan dard AS hdwHardware,
d_hardware.conf ig_vrsn AS hdwVersion,
d_sw_type.sw_ty pe AS sfwType,
d_software.stan dard AS sfwSoftware,
d_software.conf ig_vrsn AS sfwVersion,
hw_sw.time_fram e AS tf,
hw_sw.impl_plan _start_date AS pStDate,
hw_sw.impl_act_ start_date AS aStDate,
hw_sw.impl_plan _duration AS pDur,
0 AS cmtTyp,
0 AS cmtSeq,
" " AS cmt
'************** ****
I need to embed this into my ASP page so that I can make
calls to my DB, but the last line, " " AS cmt , is
throwing me for a loop. How do I handle this?
I know the following isn't correct:
*************** ***
"SELECT " & _
"d_service_area .service_area AS ServiceArea, " & _
"d_environment. environment AS Environment, " & _
"d_platform_fun ction.platform_ function AS
Platform, " & _
"d_hw_type.hw_t ype AS hdwType, " & _
"d_hardware.sta ndard AS hdwHardware, " & _
"d_hardware.con fig_vrsn AS hdwVersion, " & _
"d_sw_type.sw_t ype AS sfwType, " & _
"d_software.sta ndard AS sfwSoftware, " & _
"d_software.con fig_vrsn AS sfwVersion, " & _
"hw_sw.time_fra me AS tf, " & _
"hw_sw.impl_pla n_start_date AS pStDate, " & _
"hw_sw.impl_act _start_date AS aStDate, " & _
"hw_sw.impl_pla n_duration AS pDur, " & _
"0 AS cmtTyp, " & _
"0 AS cmtSeq, " & _
"" "AS cmt " & _
*************** ****
Thanks in advance for any help!
'*********
SELECT
d_service_area. service_area AS ServiceArea,
d_environment.e nvironment AS Environment,
d_platform_func tion.platform_f unction AS Platform,
d_hw_type.hw_ty pe AS hdwType,
d_hardware.stan dard AS hdwHardware,
d_hardware.conf ig_vrsn AS hdwVersion,
d_sw_type.sw_ty pe AS sfwType,
d_software.stan dard AS sfwSoftware,
d_software.conf ig_vrsn AS sfwVersion,
hw_sw.time_fram e AS tf,
hw_sw.impl_plan _start_date AS pStDate,
hw_sw.impl_act_ start_date AS aStDate,
hw_sw.impl_plan _duration AS pDur,
0 AS cmtTyp,
0 AS cmtSeq,
" " AS cmt
'************** ****
I need to embed this into my ASP page so that I can make
calls to my DB, but the last line, " " AS cmt , is
throwing me for a loop. How do I handle this?
I know the following isn't correct:
*************** ***
"SELECT " & _
"d_service_area .service_area AS ServiceArea, " & _
"d_environment. environment AS Environment, " & _
"d_platform_fun ction.platform_ function AS
Platform, " & _
"d_hw_type.hw_t ype AS hdwType, " & _
"d_hardware.sta ndard AS hdwHardware, " & _
"d_hardware.con fig_vrsn AS hdwVersion, " & _
"d_sw_type.sw_t ype AS sfwType, " & _
"d_software.sta ndard AS sfwSoftware, " & _
"d_software.con fig_vrsn AS sfwVersion, " & _
"hw_sw.time_fra me AS tf, " & _
"hw_sw.impl_pla n_start_date AS pStDate, " & _
"hw_sw.impl_act _start_date AS aStDate, " & _
"hw_sw.impl_pla n_duration AS pDur, " & _
"0 AS cmtTyp, " & _
"0 AS cmtSeq, " & _
"" "AS cmt " & _
*************** ****
Thanks in advance for any help!
Comment