Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

Can anyone tell me how to fetch data from the a sql database

HEy,

Can anyone tell me how to fetch data from the a sql database ??

Please help.

Thanks

4 Replies
anbu1984
Master III
Master III

Which database do you want to connect?

vikasmahajan

you can  give table name : and  execute sql statement in load script following example show how

DIM_CFAMaster:

SQL SELECT

  LocId,

    LocCode,

    "Loc_name",

    "Loc_add1",

    "Loc_City",

    "Loc_Type",

FROM "QLIKVIEW_SIM_DB".dbo."DIM_QV_CFAMaster";

Store DIM_CFAMaster into [$(vQVDFileDir)DIM_CFAMaster.qvd];

Drop table DIM_CFAMaster;

Hope this will help you

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
ajaykumar1
Creator III
Creator III

Hi,

In the Script level---choose ODBC/OLEDB---Click on connect--then choose your DB---Next-----provide server name--

user name and password---and check Allow saving password---test Connection.

Then you will get the ODBc connection string in the script.Then you can Choose SELECT option and import your fields/tables.

Regards,

Ajay

sujeetsingh
Master III
Master III

there are vedios to guide you for the same and samples to available just explore man.