Displaying 20 results from an estimated 100 matches similar to: "RODBC: Minor problem, I hope."
2001 Nov 13
1
RODBC
I'm tryuing to get the RODBC package to work with a MS Sql database
(Wonderware's InSQL). I'm able to connect to the database using the
following:
version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status Under development (unstable)
2019 Apr 16
3
PROBLEMAS NOMBRES DE COLUMNAS CON ESPACIOS CONEXION R-SQL
Buenas tardes,
Estoy tratando de realizar un update en SQL desde R:
sqlUpdate(conexion1, data.frame(AUXILIAR), tablename = "AUXILIAR")
y me devuelve el siguiente error:
*Error in sqlUpdate(conexion1, data.frame(AUXILIAR), tablename =
"AUXILIAR", : *
* data frame column(s) Corteoptimo Cortediario not in database table*
El problema es que sí existen esas columnas en SQL pero
2012 Dec 21
0
segfault reading large BLOB from SQL Server
I am getting segfaults when I try to read a large binary object from a SQL
Server database via RODBC. I am using the FreeTDS ODBC driver, and it has
been working fine when reading from this same database. I have included
relevant parts of the session below.
Each row of the v_MAFiles view holds a text, html or pdf version of a
document. The FileType entry is one of TXT, PDF, or HTML. If
2007 Jan 16
1
RODBC: sqlQuery is successful, but a similar sqlFetch returns error
Greetings guRus --
I have successfully queried a large (24,445 rows by 281 cols.) in-house
database using the following RODBC query (without the line breaks)
testout <- sqlQuery(channel, "select idSchedule,EXCL_Total from
dbo.vwC1198_2006_RawData_With_CMPL_EXCL")
This returns a dataframe of 24445 rows and two columns (as intended),
but the following command
testout
2011 Nov 10
1
Help: sqlSave Error
I am using sqlSave to save my data into an existing table at MS SQL Server
database. Previously my code ran smoothly but all of a sudden it stopped
working. Here is my code:
sqlSave(con, highVol, "dbo.futuresHighVol", append=TRUE, rownames=FALSE)
Error: sqlSave(con, highVol, "jrgchis.dbo.futuresHighVol", append = TRUE, :
42S01 2714 [Microsoft][ODBC SQL Server Driver][SQL
2008 Oct 23
0
RODBC and RDCOM
I got a table on SQL Server, which has columns EquationId (int) and
Formula (varch(900)).
I need to select Formula with certain EquationId, for example,
Select Formula from OGA_DEV.dbo.Equation where EquationId = 3
I tried to work within RGui using RODBC:
> library(RODBC)
> conn = odbcConnect("SQL Server")
> odbcQuery(conn, "Select Formula from OGA_DEV.dbo.Equation where
2014 Jun 30
2
Change database in SQL Server using RODBC
I wish to query tables that are NOT in the default SQL Server 2012 database.
At work I am using SQL Server 2012 and Windows 7. I tested the following
on my home set up of Server 2012 and Windows 7. I am using RStudio.
I wish to connect to several SQL Server 2012 databases from R.
This page helped me get started.
http://andersspur.wordpress.com/2013/11/26/connect-r-to-sql-server-2012-and-14/
2010 Oct 03
1
Package for converting R datasets into SQL Server (create table and insert statements)?
Hi,
R contains many good datasets which would be valuable in other
platforms as well. My intention is to use R datasets on SQL Server as
a sample tables. Is there a package that would do automatic conversion
from the dataset "schema" into a SQL Server CREATE TABLE statement
(and INSERT INTO statements)?
For example.
> str(cars)
'data.frame': 50 obs. of 2 variables:
$
2012 Aug 16
3
Reference a variable inside a string and another for object assingments
Hi R community
I copied a bit of my R code that gets some data from a database. You
won't be able to run the code, but I am a beginner so you will
probably understand what going on.
I would like to make a variable I can refer to inside the sqlQuery.
Instead of writing the start date and time (ex SP.lokaldatotid >=
'2005-01-01 00:00:00') inside the query I would like to define it
2009 Feb 26
0
[cdr_odbc] error: Cannot insert the value NULL into column 'calldate'
Hi,
I am trying to get * log to mssql server. I have odbc and freetds
configured, but my insert query is missing calldate which is a NOT
NULL field in database schema.
cdr_adaptive_odbc: Insert failed on 'sqlserver:cdr'. CDR failed:
INSERT INTO cdr
(clid,src,dst,dcontext,channel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid)
VALUES
2006 May 15
2
retrieving hashes key & values (ASAP)
Hi,
I want to retrieve the set of key & values which returns from a
stored procedure : connection.select_all "exec common.dbo.scr_lookupric
''AAP.N'' ".
The results i want to display in a view screen call result.rhtml.
Please help me out ASAP.
Thanks in advance.
joshua...
--
Posted via http://www.ruby-forum.com/.
2010 Nov 25
1
Execute SQL Stored Procedure in R
Dear all,
I would like R to retrieve a table resulting from execute sql stored procedures. What function can I use? Can RODBC do it.
I tried
channel1 <- odbcConnect("ptsecmstqa01-alpha")
query <- paste("execute DB.dbo.usp_test")
Data<- sqlQuery(channel1, query)
However, it returned blank.
Best Regards,
Suphajak Ngamlak
Equity and Derivatives Trading
Phatra
2007 Oct 11
1
HABTM and has_many through only work in one direction
I have two models that have a habtm relationship and it only seems to
be working in one direction.
The two models are "recipe" and "msn_lifestyles_feed" with a join
table called "msn_lifestyles_feeds_recipes"
the tables for msn_lifestyles_feed and msn_lifestyles_feeds_recipes
are in the same database and the recipe table is in a completely
different database.
When
2008 Dec 02
1
func_odbc and hash problem
Hello,
Now I'm testing func_odbc and hash. My configurations are:
func_odbc.conf
[GETNUMBER]
dsn=sqlserver
;mode=multirow
;rowlimit=10
readsql=SELECT number,real_number1,real_number2,status FROM ivr.dbo.numbers
WHERE number=${SQL_ESC(${ARG1})}
extensions.conf
exten => s,1,Ringing
exten => s,n,Wait(4)
exten => s,n,Answer
exten => s,n,Set(NUMERIS=37037210602)
exten =>
2009 Oct 26
1
xyplot lines goes forth and backwards
Hi,
This is my first post in this page althougt i've been using R for several
months (by the way english is not my native language so sorry about the
grammar).
I have a problem with a xyplot on lattice, it's supossed to print different
lines for each river (Rio) conditioned by a chemical parameter (Var) and the
state at which it's located (Dpto) against the year the sample were taken
2006 Sep 06
1
Need to override database.yml settings for Capistrano run
All,
Database: SQL Server 2000
SQLServer adapter in ODBC mode
I have a Capistrano deploy script which fails when I run against my
production DB.
Apparently, this is the because the user that is set up for production
has "guest" privileges in my SQL Server database and when Capistrano
runs, instead of looking at the dbo.schema_info table (which has the
correct version # - yes I
2014 Dec 23
0
CDR_TDS tries to write to ends column instead of end
Hi all
I'm trying to get Asterisk 1.8.11.0 to write to the ast_cdr table on an
MSSQL instance.
My problem is that the cdr_tds module insists on naming the end column as
"ends" - it tries to write to this column, which does not exist.
I get this in the CLI:
[Dec 23 09:25:17] NOTICE[2545]: cdr_tds.c:476 tds_message_handler: Invalid
column name 'ends'.
[Dec 23 09:25:17]
2008 Dec 16
0
Wine + ODBC Sql Server = fixme:winsock:WSAIoctl unsupported
Hi,
I am running wine 1.1.10 on Ubuntu Intrepid.
I would like to connect a Windows APP (running on my Ubuntu system with wine) to a SQL server running on a Windows 2003 Server on a remote computer.
I have installed mdac_typ.exe (2.8) with winetriks.
Then I tryied to create a new ODBC driver to access the database, but when the wizard reach the database option windows, this message appears:
2009 Jan 28
0
Minutes of the Compiz Conference Call, 2009-01-28
Greetings !
Here are the minutes of today's Compiz Conference Call.
The next one will take place next week, time and date aren't frozen yet, we'll
keep you up to date about this.
Feel free to comment and stack new questions for next week.
Regards,
Guillaume
------------------------------------------------------------------------------
Conference Call 2009-01-28
Discussing the
2007 Sep 17
8
DISTINCT?
This should be easy, but I''m stumped...
class X < ActiveRecord::Base
belongs_to :y
end
class Y < ActiveRecord::Base
has_many :x
end
The y table has a column names. The x table has a column value. I
want the list of values in x for the name "Location" in y. Yes, there
are many repetitions.
I can probably hack together an SQL statement to do this without too
much