Send values to IN query with parameter
Subject: send values to IN query with parameter
Hello. Hope I'll explain my problem well enough:
I have a query:
-- select id from table where id in ('100')
Now I used parameter for the IN part:
-- select id from table where id in (:param)
and I gave the parameter the value 100.
now I want to have the query with two values:
-- select id from table where id in ('100','200')
I tried to use the parameter and give him the value of: '100','200'.
It didn't worked :(
Is there a syntax to give the parameter more then one value for the IN query (with out using another table or function etc')?
Thanks in advance,Roy.
This is the best solution I have for it.
variable parameter varchar2(4000);
exec :parameter := 'SYSTEM,SYS';
select username
from dba_users
where username in ( select COLUMN_VALUE from table (split_string(:parameter,',')))It uses this function
CREATE OR REPLACE
type string_table as table of varchar2(4000)
CREATE OR REPLACE
FUNCTION split_string (
string IN varchar2,
delimiter IN varchar2
) RETURN string_table IS
tab string_table;
pre integer;
post integer;
step integer;
i integer;
BEGIN
pre := 1;
step := length(delimiter);
i := 0;
tab := string_table();
loop
tab.extend;
i := i + 1;
post := instr(string,delimiter,pre);
if ( post = 0 ) then
tab(i) := substr(string,pre);
return tab;
end if;
tab(i) := substr(string,pre,post-pre);
pre := post + step;
end loop;
END;
/Bye Alessandro
Similar Messages
-
CANT execute query with parameter on user defined tables using query genera
Dear All,
I have problem when executing query with parameter on user defined tables using query generator.
It seems SBO cannot accept parameter to query user defined tables.
I've tried these:
SELECT T0.U_Status FROM [@ST_PR_H] T0 WHERE T0.U_Status = [%0] --- this FAIL
I try to pass the value directly without using parameter and It works
SELECT T0.U_Status FROM [@ST_PR_H] T0 WHERE T0.U_Status = 2 --- this SUCCESS
This one works
SELECT * FROM RDOC T0 WHERE T0.width =[%0] --- this SUCCESS
and this one works too
SELECT * FROM RDOC T0 WHERE T0.width = 595 --- this SUCCESS
Is there anyone can help me ....???
Thanks,
AlfaI generated this code using query wizard ....
SELECT T0.[U_Status] AS 'Document Status' FROM [dbo].[@ST_PR_H] T0 WHERE T0.[U_Status] = (N'2' )
and replaced the (N'2' ) with [%0]
SELECT T0.[U_Status] AS 'Document Status' FROM [dbo].[@ST_PR_H] T0 WHERE T0.[U_Status] = [%0]
and It worked ......
Thanks 4 all ..... -
Text Box Value in the Query Bind Parameter
Hi
I have to use text box value in the query bind parameter
Thanks to help...Hi,
- drag Execute with params
- use EL
Frank -
Using sql query with parameter
OK, I can't find any docs on this. I can insert a parameter, but how do I insert that into the sql query?
Your first post asked how to insert a paremeter into a SQL. My example shows a value read query with a SQL function, but any SQL will work with any Query in the same pattern.
a) You call the query with session.executeQuery(query, vectorOfArguments);
b) You use #argument in the SQL string and then query.addArgument("argument");
c) You pass them in a Vector of the order in which you do the addArgument's.
- Don -
Query with parameter as Array (UDT) very slow
Hi.
I have following Problem. I try to use Oracle Instant Client 11 and ODP.NET to pass Arrays in SELECT statements as Bind Parameters. I did it, but it runs very-very slow. Example:
- Inittial Query:
SELECT tbl1.field1, tbl1.field2, tbl2.field1, tbl2.field2 ... FROM tbl1
LEFT JOIN tbl2 ON tbl1.field11=tbl2.field0
LEFT JOIN tbl3 ON tbl2.field11=tbl3.field0 AND tbll1.field5=tbl3.field1
...and another LEFT JOINS
WHERE
tbl1.field0 IN ('id01', 'id02', 'id03'...)
this query with 100 elements in "IN" on my database takes 3 seconds.
- Query with Array bind:
in Oracle I did UDT: create or replace type myschema.mytype as table of varchar2(1000)
than, as described in Oracle Example I did few classes (Factory and implementing IOracleCustomType) and use it in Query,
instead of IN ('id01', 'id02', 'id03'...) I have tbl1.field0 IN (select column_value from table(:prmTable)), and :prmTable is bound array.
this query takes 190 seconds!!! Why? I works, but the HDD of Oracle server works very hard, and it takes too long.
Oracle server we habe 10g.
PS: I tried to use only 5 elements in array - the same result, it takes also 190 seconds...
Please help!I did (some time ago and it was a packaged procedure) something like
Procedure p(p_one in datatype,p_two in datatype,p_dataset out sys_refcursor) is
the_sql varchar2(32000);
the_cursor sys_refcursor;
begin
the_sql = 'WITH NOTIFICACAO AS( ' ||
' SELECT ' ||
' t1.cd_consultora, ' ||
' where t1.dt_notificacao_cn >= to_date(''01/09/2006'',''dd/mm/yyyy'') ' || -- note the ''
' where rownum <= :W_TO_REC) ' || -- parameter 1
' where r_linha >= :W_FROM_REC '; -- parameter 2
open the_cursor for the_sql using p_one,p_two; -- just by the book
end p;if I remember correctly
Regards
Etbin -
SQL query with parameter returns empty result set, please help !!!
Hi there,
When I use the following query :
<sql:query var="beroepsthemas" >
select *
from beroepsthemas
where beroepsthemaid = ?
<sql:param value="12"/>
</sql:query>
When I want to browse the result set with :
<c:forEach items="${beroepsthemas.rows}" var="rij">
it shows no records. But it must return at least one.
All my jsp pages with sql queries and parameters have the same problem.
This is all on my test environment. I'm using Ubuntu 5.10, Netbeans5.0, JDK 1.5_06, application runs in Bundeled Tomcat 5.5.9, MySQL 4.1.12, mysql-connector3.1.6
When the same code is run on the live environment, it works just fine.
The difference is :
Mysql 4.1.10a, tomcat5.5.9, mysql-connector3.1.6
What can there be wrong !!When the same code is run on the live environment, it
works just fine.
The difference is :
Mysql 4.1.10a, tomcat5.5.9, mysql-connector3.1.6
I didn't catch this. I think you may need to update the database driver. -
Set value in af:query with value from method
hello all
i have problem, when they want set value in af:query (inputText) with value from method, how to do that?
anyone help..?
thx
agungdmtHi,
are you facing this issue when you try to show few values on right side (selected list) of shuttle component.
what is your usecase exactly ? -
Passing multiple values to the QUERY BDOC parameter?
hi All,
Below is my Query BDOC Anchor Before Query Execute even handler... I'm trying to pass multiple values to the bq.Z_PartnerFunction query parameter... i.e.
PARTNER_FCT in( '00000012','ZDIVMGR','ZAREADR')
is it possible without creating new Query Bdoc ?
====================================
Private Sub aempchoicewinTCWSearchTAnchor_beforeQueryExecute(ByRef bq As BusinessQuery, ByRef cancel As Boolean)
If Not bq Is Nothing Then
If sWcDummy = "Yes" Then
bq.WcDummy = sWcDummy
End If
bq.Z_PartnerFunction = "00000012"
If ctrlZ_Territory.Value <> "" Then
bq.PRNB_TerrID = "*" & ctrlZ_Territory.Value
End If
End If
End Sub
================================
Thanks in advance
HetalHi,
it looks that you already enhanced the query BDoc because you have a new query parameter bq.Z_PartnerFunction, right?
To which BDoc parameter is this BQ parameter mapped? And how looks the related where clause?
For a single filter normally a "=" operator is used. Therefore your example with "in" won't work.
If these three partner functions are fixed then you might hardcoded them directly in the where clause (supposed the BDoc is not used somewhere else where you don't want to have this filter).
Or you might add 3 new BDoc parameters, add 3 new where clauses using a disjunction for them (and using an embracing bracket). In this case always all these 3 BQ parameters need to be filled (or all stay empty) to avoid a SQL syntax error.
Regards,
Wolfhard -
How to write the below query with parameter and is null
Hi, I need to retrive the data if the parameter is passed on the field, else retrive all records whose field is null
Example
CREATE TABLE DEPT
(DEPTNO NUMBER(2),
DNAME VARCHAR2(14),
LOC VARCHAR2(13) );
INSERT INTO DEPT VALUES (10, 'ACCOUNTING', 'NEW YORK');
INSERT INTO DEPT VALUES (20, 'RESEARCH', 'DALLAS');
insert into dept values (30, 'SALES', 'CHICAGO');
INSERT INTO DEPT VALUES (40, 'OPERATIONS', 'BOSTON');
alter table dept add(object_id number);
insert into dept values (50, 'OPERATIONS', 'BOSTON',1);
insert into dept values (60, 'OPERATIONS', 'BOSTON',1);
INSERT INTO DEPT VALUES (70, 'OPERATIONS', 'BOSTON',2);
select * from dept where object_id =:p_object_id
If i pass the object_id as 1 , it shloud retrive the values of dept with object_id 1, but if i dont pass the object_id, it should retrive all the records whose object_id is null
IF 1 is passed, as object id , it should retrive, 50, 60, if 1 is not passed as object_id it should retive 10,20,30,40
It works fine for me seperately as,
select * from dept where object_id =:p_object_id -- 1
select * from dept where object_id is null;
Is this possible to do in single query.
ThanksSELECT *
FROM dept
WHERE object_id = :p_object_id
OR (object_id is null and :p_object_id is null)
is one approach. It's a bit verbose but the meaning is clear. If you can identify a value that would never appear in the data (-1 for example)
WHERE nvl( object_id, -1 ) = nvl(p_object_id, -1 );
Justin -
OLEDB Source sql query with parameter
I have a dataflow in a for each loop container.The OLEDB Source is pointing to oracle database.The sql query to fetch the data should take a variable value.
Example : select * from tablename where colname = @variablevalue
the variable value changes each time since the dataflow is in a for each loop container.
can anyone please help me configuring the source??
when i try to use ? i get the following error message
Thanks,
RahulI can't troubleshoot that error as i don't have a Oracle source to test. See this -
http://microsoftdw.blogspot.com/2005/11/parameterized-queries-against-oracle.html
Try -
1. Create a int variable vBatchIndex (this would be your parameter which you are trying to pass) and provide the value
2. Create another string variable vSQLQuery > Go to Variable properties > Set the "EvaluateAsExpression" property to "True"
3. Under the variable properties > Go to Expression > and provide this expression as
"SELECT * FROM fc_batch_report WHERE batch_index= " + (DT_WSTR, 10) @[User::vBatchIndex]
4.Next ,go to OLE DB Source > Select the Data access mode - SQL command from variable
5.Select the variable name - vSQLQuery
Narsimha -
DBAdapter - Select Query with parameter
Newbie Question : I need to get data from database based on a value entered by the user. I have created a dbadapter with select operation and it accepts one parameter that is used in the where clause. My question is how do I pass the value entered in the form to the db adapter parameter to get the results.
Your human task should take the parameter you're passing into your DB adapter call as a part of its payload. So there should be an incoming and outgoing data association for your interactive activity (human task) passing that value. Then in your service call you should have an incoming data association that maps that parameter into the proper input parameter of the service call.
-
SELECT OCRD.CardCode AS 'Supplier Code', OCRD.CardName AS 'Supplier Name', OITM.ItemCode AS 'Item Code', OITM.ItemName AS ' Item Description',
OPOR.DocNum AS 'P.O. No', POR1.Quantity AS 'PO Qty', OPOR.DocDueDate AS 'Due Date', OPDN.DocDate AS 'Reciept Date',
PDN1.Quantity AS 'Receipt Qty', PDN1.Quantity - POR1.Quantity AS 'Balance Qty', OPOR.DocTotal AS 'PO Value'
FROM OPDN INNER JOIN
PDN1 ON OPDN.DocEntry = PDN1.DocEntry INNER JOIN
OITM INNER JOIN
POR1 ON OITM.ItemCode = POR1.ItemCode INNER JOIN
OCRD INNER JOIN
OPOR ON OCRD.CardCode = OPOR.CardCode ON POR1.DocEntry = OPOR.DocEntry ON OPDN.CardCode = OCRD.CardCode AND
PDN1.ItemCode = POR1.ItemCode
WHERE (OCRD.CardType = 'S') AND (OPDN.InvntSttus = 'O') and OPOR.DocDueDate between '[% FROM ]' and '[%TO]' ORDER BY OPOR.DocDueDate
I want to pass from date and to date as parameter in the above query.The above query gives error.What correction should ne done ?
Edited by: Dilip Kumbhar on Jan 15, 2008 9:38 AM
Edited by: Dilip Kumbhar on Jan 15, 2008 9:39 AMHi Dilip,
Check this out:
/*select from [dbo].[opor] T0 */
declare @fromdate as datetime
/* where */
set @fromdate = /* T0.DocDueDate */ '[%1]'
/*select from [dbo].[opor] T1 */
declare @tilldate as datetime
/* where */
set @tilldate = /* T1.DocDueDate */ '[%2]'
SELECT OCRD.CardCode AS 'Supplier Code', OCRD.CardName AS 'Supplier Name', OITM.ItemCode AS 'Item Code', OITM.ItemName
AS ' Item Description', OPOR.DocNum AS 'P.O. No', POR1.Quantity AS 'PO Qty', OPOR.DocDueDate AS 'Due Date', OPDN.DocDate AS 'Reciept Date',
PDN1.Quantity AS 'Receipt Qty', PDN1.Quantity - POR1.Quantity AS 'Balance Qty', OPOR.DocTotal AS 'PO Value'
FROM OPDN INNER JOIN PDN1 ON OPDN.DocEntry = PDN1.DocEntry INNER JOIN OITM INNER JOIN POR1 ON OITM.ItemCode = POR1.ItemCode INNER JOIN
OCRD INNER JOIN OPOR ON OCRD.CardCode = OPOR.CardCode ON POR1.DocEntry = OPOR.DocEntry ON OPDN.CardCode = OCRD.CardCode AND
PDN1.ItemCode = POR1.ItemCode
WHERE (OCRD.CardType = 'S') AND (OPDN.InvntSttus = 'O') and OPOR.DocDueDate >=@fromdate AND OPOR.DocDueDate <=@tilldate
ORDER BY OPOR.DocDueDate
Hope this's what you want
Cheers,
Serene -
Huge query with parameter for to use Dynamic Cursor with Parameters
Hi
Is possible put the query below like dynmic cursor passing Parameters ?
How can I do it ?
OPEN P_CURSOR FOR
WITH NOTIFICACAO AS(
SELECT
t1.cd_consultora,
t1.dc_nome_consultora,
t2.nm_notificacao_cn,
t2.dt_notificacao_cn dt_notificacao,
t2.dt_atendimento_notificado,
t1.cd_tipo_estrutura_comercial,
t1.cd_estrutura_comercial
FROM t_consultora t1, nc.t_nc_notificacao_cn t2
WHERE t2.dt_notificacao_cn BETWEEN w_DTA_INI AND w_DTA_FIM
AND t2.cd_consultora = t1.cd_consultora
AND t1.cd_setor = w_cd_setor
AND t1.cd_tipo_estrutura_comercial = p_tp_estrutura_comercial
AND t1.cd_estrutura_comercial = p_cd_estrutura_comercial),
T_NOTIFICADA AS ( select Count(t1.nm_notificacao_cn) over (partition by t1.cd_consultora,t1.nm_notificacao_cn ) QTD_NOTAS,
Count(t2.nm_item_notificacao_cn) over (partition by t1.cd_consultora,t1.nm_notificacao_cn ) QTD_ITENS,
T3.*
from nc.t_nc_notificacao_cn t1,
nc.t_nc_item_notificacao_cn T2,
NOTIFICACAO T3
where t1.dt_notificacao_cn >= to_date('01/09/2006','dd/mm/yyyy')
and t3.nm_notificacao_cn = t1.nm_notificacao_cn
and t1.nm_notificacao_cn = t2.nm_notificacao_cn
and ((t2.cd_tipo_item_nc = 4 and t2.cd_subtipo_item_nc = 6)
or t2.cd_tipo_item_nc = 2 or t2.cd_tipo_item_nc = 3)
and t3.cd_consultora = t1.cd_consultora (+) ) ,
T_BLOQUEADA AS ( SELECT T4.* FROM
(SELECT T3.*,
CASE WHEN T3.BLOQUEADA = -1 THEN 'Bloqueada'
WHEN T3.BLOQUEADA = 0 THEN
(CASE WHEN T3.QTD_NOTAS > 2 THEN
CASE WHEN T3.QTD_ITENS > 8 THEN 'Atencao / Analise'
ELSE
'Normal'
END
ELSE
'Atencao / Analise'
END)
END OBSERVACAO
FROM (SELECT CASE WHEN NVL(T2.ID_CN_BLOQUEADA,1) = 1 then -1
WHEN NVL(T2.ID_CN_BLOQUEADA,1) = 0 THEN 0
END BLOQUEADA, T1.*
FROM T_NOTIFICADA T1,
T_PS_CONSULTORA T2
WHERE T1.CD_CONSULTORA = T2.CD_PESSOA)T3) T4 )
select *
from (SELECT t1.*, ROWNUM r_linha
FROM (SELECT cd_consultora,
dc_nome_consultora,
fnc_busca_telefone(CD_CONSULTORA, 1) TELEFONE1,
fnc_busca_telefone(CD_CONSULTORA, 2) TELEFONE2,
EMAIL,
observacao,
nm_notificacao_cn,
nvl(vl_total_final,0) vl_total_final,
dt_notificacao,
qt_produto_item_nc,
sg_notificacao,
ID_SITUACAO,
qtd_registros
FROM (SELECT /*+ INDEX(W5 I0_NC_TIPO_ITEM_NC) */
W1.cd_consultora,
W1.dc_nome_consultora,
fnc_busca_telefone(w1.CD_CONSULTORA, 1) TELEFONE1,
fnc_busca_telefone(w1.CD_CONSULTORA, 2) TELEFONE2,
fnc_busca_email(w1.CD_CONSULTORA) EMAIL,
W1.OBSERVACAO observacao,
W1.nm_notificacao_cn,
sum(W4.qt_produto_nf *
W4.vl_unitario_final_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) vl_total_final,
W1.dt_notificacao,
sum(W4.qt_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) qt_produto_item_nc,
'PENDENTE' sg_notificacao,
W5.dc_tipo_item_nc ID_SITUACAO,
W_qtd_registros qtd_registros
FROM T_BLOQUEADA W1,
nc.t_nc_item_notificacao_cn W2,
nc.t_nc_produto_item_nc W3,
nc.t_nc_produto_item_nf W4,
nc.t_nc_tipo_item_nc W5
WHERE W1.dt_atendimento_notificado is null
and W1.nm_notificacao_cn =
W2.nm_notificacao_cn
and W2.cd_tipo_item_nc = W5.cd_tipo_item_nc
and W2.nm_notificacao_cn =
W3.nm_notificacao_cn(+)
and W2.nm_item_notificacao_cn =
W3.nm_item_notificacao_cn(+)
and W3.nm_notificacao_cn =
W4.nm_notificacao_cn(+)
and W3.nm_item_notificacao_cn =
W4.nm_item_notificacao_cn(+)
and W3.nm_sequencia_produto_item_nc =
W4.nm_sequencia_produto_item_nc(+)
and W2.cd_tipo_item_nc not in (6, 7)
and ((W2.id_situacao_item_nc = 1) OR
(W2.id_situacao_item_nc = 3 OR
W2.id_solucao_definida is not null))
UNION
SELECT /*+ INDEX(W5 I0_NC_TIPO_ITEM_NC) */
W1.cd_consultora,
W1.dc_nome_consultora,
fnc_busca_telefone(w1.CD_CONSULTORA, 1) TELEFONE1,
fnc_busca_telefone(w1.CD_CONSULTORA, 2) TELEFONE2,
fnc_busca_email(w1.CD_CONSULTORA) EMAIL,
W1.OBSERVACAO observacao,
W1.nm_notificacao_cn,
sum(W4.qt_produto_nf *
W4.vl_unitario_final_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) vl_total_final,
W1.dt_notificacao,
sum(W4.qt_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) qt_produto_item_nc,
'ATENDIDO' sg_notificacao,
W5.dc_tipo_item_nc ID_SITUACAO,
W_qtd_registros qtd_registros
FROM T_BLOQUEADA W1,
nc.t_nc_item_notificacao_cn W2,
nc.t_nc_produto_item_nc W3,
nc.t_nc_produto_item_nf W4,
nc.t_nc_tipo_item_nc W5
WHERE W1.dt_atendimento_notificado is not null
and W1.nm_notificacao_cn =
W2.nm_notificacao_cn
and W2.cd_tipo_item_nc = W5.cd_tipo_item_nc
and W2.nm_notificacao_cn =
W3.nm_notificacao_cn(+)
and W2.nm_item_notificacao_cn =
W3.nm_item_notificacao_cn(+)
and W3.nm_notificacao_cn =
W4.nm_notificacao_cn(+)
and W3.nm_item_notificacao_cn =
W4.nm_item_notificacao_cn(+)
and W3.nm_sequencia_produto_item_nc =
W4.nm_sequencia_produto_item_nc(+)
)T2
---- here with NDS I changed order by
ORDER BY DECODE(p_nm_asc_desc,0,DECODE(p_nm_col_ordem ,1, cd_consultora,2,dc_nome_consultora)) ASC, --,8,vl_total_final)) ASC,
DECODE(p_nm_asc_desc,1,DECODE(p_nm_col_ordem ,1, cd_consultora,2,dc_nome_consultora)) desc --,8,vl_total_final)) DESC
) T1
where rownum <= W_TO_REC)
where r_linha >= W_FROM_REC;Is It Query very much great and how can I to pass parameters w_DTA_INI ,w_DTA_FIM, W_TO_REC,W_FROM_REc ....etc
TIAI did (some time ago and it was a packaged procedure) something like
Procedure p(p_one in datatype,p_two in datatype,p_dataset out sys_refcursor) is
the_sql varchar2(32000);
the_cursor sys_refcursor;
begin
the_sql = 'WITH NOTIFICACAO AS( ' ||
' SELECT ' ||
' t1.cd_consultora, ' ||
' where t1.dt_notificacao_cn >= to_date(''01/09/2006'',''dd/mm/yyyy'') ' || -- note the ''
' where rownum <= :W_TO_REC) ' || -- parameter 1
' where r_linha >= :W_FROM_REC '; -- parameter 2
open the_cursor for the_sql using p_one,p_two; -- just by the book
end p;if I remember correctly
Regards
Etbin -
Generate Report from SQL Query with Parameter
I have a web application that needs to generate static PDF reports. What I want to do is:
1. Use Acrobat to create a form
2. Open the form programmatically on the webserver
3. Pass it a parameter such as a "clientID"
4. Automatically populate the rest of the form using a SQL stored procedure with the clientID as the parameter
5. Save the form as a static, non-editable PDF and display it for the client to either view/save/print
Example:
Database would contain a table called Clients
ID LastName Location Phone
1 Doe New York 111-111-1111
2 Smith California 222-222-2222
Stored Procedure
CREATE PROCEDURE GetClient
@id int
AS
SELECT LastName, Location FROM Clients WHERE ID = @id
GO
Acrobat Form
Last Name: [txtLastName]
Location: [txtLocation]
Website user requests report for clientID=1. Result is a PDF that looks like this:
Last Name: Doe
Location: New York
I am very new to Acrobat, so please explain in detail how I can go about doing this. Thanks very much in advance.Good morning. Did you find a solution to your problem? I'm looking for something to do the same for a from created in Live Cycle 7.0. If you can share some information or examples, I would greatly appreciate it.
Thanks
Ernest -
OLE DB source to connect to teradata and need to send a paramter in query
Hi SSIS gurus,
I am using OLEDB source to connect to Teradata and need to pass a parameter to the query. Ex:
Select * from MyTable where NoOfyrs = 'MyParameter'
VS2010 version, SQL server 2012, Teradata version 14.10
I have tried all the below options and nothing is working for me:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4818c959-5a7f-43b7-b786-d069a8a67334/using-teradata-net-data-provider-as-data-source?forum=sqlreportingservices
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8602c161-e75a-489f-980d-e5394e1aa9b6/teradata-source?forum=sqlintegrationservices
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/64d59656-93bc-4458-85b3-b79d611e8f18/teradata-source-sql-server-where-clause-in-ssis?forum=sqlintegrationservices
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/a3548020-960d-47c4-aa1a-2ce69cfa1aef/how-to-use-net-tableadapter-query-configuration-wizard-in-vs-to-build-a-query-with-parameter-to?forum=adodotnetdataproviders
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/59787cd3-5d64-413c-93cd-f89621e25a15/pass-query-between-sql-and-teradata?forum=sqlintegrationservices
Kindly suggest how can I proceed.
Thanks and Regards,
2008-2012Hello,
Please refer to the following article regarding passing dynamic parameters to Teradata Server:
http://social.technet.microsoft.com/forums/sqlserver/en-US/f721949f-2300-4ac8-9961-7f2227f352ba/passing-dynamic-parameters-to-teradata-server-using-ssis
If this issue still persists, I would suggest you elaborate your issue with more detail.
If you have any feedback on our support, please click
here.
Elvis Long
TechNet Community Support
Maybe you are looking for
-
Order Number is not appearing in Asset PR
Hi, At the time of creation of Asset PR, the order number is not appearing. I had already assigned the order number in "origin" tab in Asset Master. Please find below details: 1) Creation of Asset with AS01 2) Creation of Order with KO01 3) Assign th
-
How to receive an RFC message in PI ABAP stack from ECC
Hi mates, I am involved in a scenario in which we want to receive a message in PI (ABAP stack) from ECC (ABAP stack as well). We created a RFC destination (3) in sender system (ECC) so both stacks could be linked. However, we do not know how to recei
-
How do I cancel my subscription to Adobe Export PDF
I just purchased Adobe Export PDF, but it won't convert the file I need because it is apparently too large. I want to cancel my subscription but can't. I have gone form link to link on Adobe's website, but they just refer back to links I was just on.
-
When using filters I get a "Cyclic Redundancy Check"
Anyone know why this happens? When I try to use the "Liquify" filter, which I tend to use ALOT, this happens now: Error: The operation could not be completed. Data error (cyclic redundancy check). Sometimes it happens with other filters too but alwa
-
IOS 5.1 severe problems to connect to a mobile phone network
Hi All, I'm facing problem with my iPhone 4 IOS 5.1 after upgrade the bettery drain so fast and network connection keep lossing in my iPhone 4 the "no service" or "searching" keeps coming up specially on 3G, I even changed my SIM but still the same t