Displaying 1 result from an estimated 1 matches for "sub_group_num_loopcounter".
2009 May 16
1
Fwd: Cannot allocate a new database connection error
...n <- dbConnect(drv, user="xyz", password="xyz",dbname = dbName, host
= hostName)
return(con)
}*
everytime i need ,Db connection , i used in this way:----
This is the structure of my code:--
main <- function ()
{
#Looping through subgroups
for(sub_group_num_loopcounter in 1:sub_group_num_data_size[1])
{
#Fetching the where clause for the particular subgroup
* sub_group_where_condition <-
fetch(dbSendQuery(myDbConnect(dbName,hostName), paste(c("SELECT where_clause
FROM sub_grp where
num=",sub_group_num_data[sub_grou...