No table names appear (only Stored Procs) when connected to SQLServer w/dbo
Greetings,
I'm using Crystal Reports 11, connecting to a databse on SQL Server 2005.
I am on Windows 7. I also have the problem on Windows Server 2003
Starting from a blank database, I create my connection through ODBC, and when I expand my database, all I get is a list of stored procedures, no tables.
I have isolated this to whether I have dbo authority on this particular database or not.
i.e. I have a user with dbo authority, and they see nothing but stored procedure names, I take dbo authority away, and they see tables, views, stored procs, all as would be expected.
I have several other SQL Server databases that do not share this issue. Users with dbo authority can see tables as expected.
I have compared the settings on the databases, and nothing appears to be different (the database with the issue is considerably larger, but I can't see where that would be an issue)
I will probably also open this issue with Microsoft, to see what they say from their end
If anyone has seen this before, or would have any suggestions they would be greatly appreciated. Seems very strange that giving MORE authority would be affecting what the user can see.
Don
Below are the results from the SQLCON program you suggested. It is returning Table info... (truncated most of it, as I assume it's not all that pertinent)
SQLConnect Successful
[Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'eas'.
[Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english.
ODBC Version is : 03
SQL Driver Name is : SQLSRV32
SQL Driver Version is : 06.01.7600
SQL Driver Supported ODBC Version is : 03
SQL DBMS Name is : Microsoft SQL Server
SQL DBMS Version is : 09.00.4035
SQLTables Successful
[Row, Database, Owner, Name, Type]
1 eas, dbo, ABC_ACCOUNT, TABLE,
2 eas, dbo, ABC_BUSINESS_UNIT, TABLE,
3 eas, dbo, ABC_COMPANY, TABLE,
Here is the listing from the TS server (also seeing the issue):
SQLConnect Successful
[Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'eas'.
[Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english.
ODBC Version is : 03
SQL Driver Name is : SQLSRV32
SQL Driver Version is : 03.86.3959
SQL Driver Supported ODBC Version is : 03
SQL DBMS Name is : Microsoft SQL Server
SQL DBMS Version is : 09.00.4035
SQLTables Successful
[Row, Database, Owner, Name, Type]
1 eas, dbo, ABC_ACCOUNT, TABLE,
2 eas, dbo, ABC_BUSINESS_UNIT, TABLE,
3 eas, dbo, ABC_COMPANY, TABLE,
I apologize for not answering your previous question, I think the SQL Driver Name will answer that? If not, let me know and I'll get you the information you're looking for. Thank you again for your time on this.
Similar Messages
-
Table names in generated stored procs are qualified with sa schema name
I am using OMW 9.2.0.1.2 with the 9.2.0.1.3 SQL Serevr plugin to help with a SQL Server 7 to Oracle 9.2.0.1 migration on NT.
As is common with SQL Server databases, the dbo is sa. I don't want my Oracle schema to be called sa. I have succesfully gotten around this by renaming the sa user in the Oracle model in OMW.
However, the stored procedure code that OMW generates has table names qualified with sa as the schema (the tables names in the original T/SQL procs were not qualified).
How can I stop OMW from generating table names qualified with sa?
Thanks.Hi,
this is a bug in the OMWB. As a workaround, you can generate the migration scripts (see reference guide and user guide for more information) from the OMWB Oracle Model and then edit these scripts to ensure that the 'sa' prefix does not appear in the text of the stored procedures. Then use these scripts to generate the schema in your database.
An alternative is to migrate the stored procedures, schema and data over to the Oracle database using OMWB and then open each procedure in Enterprise Manager, remove the references to the 'sa' prefix and re-compile the procedure.
I will keep you updated on the release this fix will appear in.
I hope this helps,
Tom. -
my classic iPod no longer appears in iTunes window when connected to iMac. does this mean my device is no longer supported by iTunes? or incompatible with OSX?
Hello stiannac
Check out the article below for troubleshooting to get your iPod showing back up on your iMac
iPod not recognized in iTunes and Mac desktop
http://support.apple.com/kb/ts1410
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
My ipod only turns on when connected to charge
Hi All,
This is the first time I have ever posted to something like this so please bear with me if I am rambling / or left out any important info!
I have a iPod Nano 3rd Gen, which I haven't used for quite a while due to me purchsing an iPhone a couple of years ago.
I decided to dig it out and update the music on there. I plugged it in to my laptop and all seemed to work fine.
I left the iPod on charge overnight using the mains adapter that I have.
Unfortunately, once I disconnected the iPod from the charger it won't turn on using the play button. I reconnected to the charger, and the iPod will switch on.
So looks like it will only turn on when connected to the power source, and won't work indepedently.
As far as I know the iPod has never been in contact with any water, as it has been kept in a bedroom drawer whilst it hasn't been used, so i don't think the problem is that the iPod has become damp in any way.
Has anybody else had a similar problem, and found a solution?
ThanksI have a iPod Nano 3rd Gen, which I haven't used for quite
The iPod's lithium-ion battery needs constant movement and action in order to maintain any sort of charge or capcity to charge. So given that the iPod went unused for so long and the age of the device itself, it sounds like the iPod's battery is shot and in need of a replacement.
You can choose to have Apple swap out the battery for a flat fee, send into a third party service center for a little less, or you can even purchase a replacement battery online and use one of the many numerous gudies online to walk you through the process of swapping it out.
Here is Apple's pricing. Google for third party service provider if you desire.
http://www.apple.com/support/ipod/service/prices/
B-rock -
apple phone 3g is not getting started and i can find only apple logo when connected to system and my system is not recognizing the mobile device. kindly help me in this regard
Put the device in DFU mode (google it) and restore as new.
-
Mail only sends messages when connected to WiFi? Hmmmm.
Hi. I've got a POP3 email account that I have to set up manually. For some reason, emails can only be sent when connected to WiFi but not over a cellular data network. Anyone got any ideas? I can receive mail fine through either WiFi or Cellular Data Network.
Many thanks,
MaxDo you have a wireless network at home and Is the email account provided by your internet service provider associated with your wireless network?
Most, if not all internet service providers block the use of SMTP servers that are outside of their network or not provided by the ISP being used for your internet connection at the time unless the SMTP server is authenticated. The same applies when connected to the internet via the cellular network. Recieving is not a problem regardless the ISP being used for your internet connection at the time.
If the email account is provided by your ISP, most ISPs do not have an authenticated SMTP sever for the email account they provide.
Both my email accounts have an authenticated SMTP server and I've never had a problem sending with either account regardless the ISP associated with a wi-fi network I'm connected to at the time or when connected to AT&T's cellular network - for 2+ years aporoaching 3 years this July. -
Passing Table name as parameter to proc.
Hi,
I need to know how to pass a table name to a oracle procedure.
In that procedure I will put that table name in a variable and then I will make operations on that table like DELETE, UPDATE and INSERT.
Kinldy give me the solution for the above problem as soon as possible..
Thanks & regards,
KiranYou shouldn't do it, but if you do, you can use something like this:
Anton
create or replace type my_parm as object
( name varchar2(30)
, val anydata
create or replace type my_parms as table of my_parm
create table t1( c1 number, c2 varchar2(10), c3 date )
create or replace procedure doital( p_action in varchar2, p_tab in varchar2, parms in my_parms )
is
p_stmt1 varchar2(32000);
p_stmt2 varchar2(32000);
ind pls_integer;
curs integer;
dummy integer;
t_a anytype;
t_v varchar2(32000);
t_n number;
t_d date;
begin
curs := dbms_sql.open_cursor;
if upper( p_action ) = 'I'
then
ind := parms.first;
loop
exit when ind is null;
p_stmt1 := p_stmt1 || ', ' || parms( ind ).name;
p_stmt2 := p_stmt2 || ', :b' || to_char( ind );
ind := parms.next( ind );
end loop;
p_stmt1 := 'insert into ' || p_tab || ' (' || substr( p_stmt1, 2 ) || ' ) values (' || substr( p_stmt2, 2 ) || ' )';
dbms_sql.parse( curs, p_stmt1, dbms_sql.native );
ind := parms.first;
loop
exit when ind is null;
case parms( ind ).val.GetType( t_a )
when dbms_types.typecode_varchar2
then
dummy := parms( ind ).val.GetVarchar2( t_v );
dbms_sql.bind_variable( curs, ':b' || to_char( ind ), t_v );
when dbms_types.typecode_number
then
dummy := parms( ind ).val.GetNumber( t_n );
dbms_sql.bind_variable( curs, ':b' || to_char( ind ), t_n );
when dbms_types.typecode_date
then
dummy := parms( ind ).val.GetDate( t_d );
dbms_sql.bind_variable( curs, ':b' || to_char( ind ), t_d );
end case;
ind := parms.next( ind );
end loop;
end if;
dummy := dbms_sql.execute( curs );
dbms_sql.close_cursor( curs );
end;
begin
doital( 'I', 't1', my_parms( my_parm( 'c2', anydata.ConvertVarchar2( 'testje' ) )
, my_parm( 'c1', anydata.ConvertNumber( 3 ) )
, my_parm( 'c3', anydata.ConvertDate( sysdate ) )
doital( 'I', 't1', my_parms( my_parm( 'c1', anydata.ConvertNumber( 77 ) )
, my_parm( 'c2', anydata.ConvertVarchar2( 'goedzo' ) )
, my_parm( 'c3', anydata.ConvertDate( sysdate - 5 ) )
end;
/ -
Unifier Table name used for storing User-Defined Reports Information
Hello Everyone,
I am looking for the table name that stores all the User-Defined Reports information pertaining to report creation details. I want to create a dataview that will provides all the user-defined reports the system presently had on file.
Does anyone know about the system auto-created table name for User Defined Reports. It might start with "sys_"
ThanksFor custom reports, you can find them through data views - "sys_custom_report". I am wondering why UDR tables were not included.
The only effort left is manually copy pasting each name and information from Unifier on an Excel sheet. It will take a lot of time though. I will also log a SR meanwhile.
Thanks everyone for your help. -
Table name variable failes in OLE DB connection
I'm getting odd behavior from an OLE DB Destination. I need to make the destination dynamic so I chose "Table name or view name variable" as the data access mode. When I put in what I know is a valid table name as the default value of the variable
and click view existing data, I get the following,
File not found (it's a DB2 db that calls tables files).
The curious thing is when I choose SQL command and put in a query using the EXACT same table and click view existing data, it works. What am I missing here?Hi falcon00,
I am unable to reproduce the error message, however, you can follow the steps below to create the variable properly:
Remove the existing related variable(s).
Add a new Package scope variable named PRMSDestinationTable, set its data type to String, its value to TableName (without database schema).
Press F4 to highlight the variable properties pane, set its EvaluateAsExpression property to True, and set its expression to @[User:: PRMSDestinationTable]. Evaluate the expression to make sure the result is correct.
Regards,
Mike Yin
TechNet Community Support -
My Ipod Classic appears in My Computer when I connected it to my new Windows 8 pc. When Itunes starts my Ipod is no longer appears in My Computer and is not shown under Devices in Itunes. It appears that Itunes disconnects my Ipod from the pc. My Ipod still sync's up fine with Itunes on my old Windows XP pc.
See earlier post by tt2
https://discussions.apple.com/message/7217190#7217190 -
Apple TV (1G) doesn't appear in devices list when connected via ethernet
After upgrading to OS X Lion and iTunes 10.4 my Apple TV (1G) doesn't appear in the devices list when connected via ethernet. When I switch to wireless lan the device is shown and the sync process starts but can't copy the new films. The copy operation stops every time and sometines the device disappears from the list.
Despite of the upgrading of OS X and iTunes all the settings are unchanged.
Anyone an idea?Since my last update, I've gathered more information. I'm almost certain this is not entirely a 10.7.1 issue, if an issue in 10.7.1 at all. 10.7.1 may have changed something that caused this issue to appear,but where I was having this problem weekly if not daily, I no longer have the problem. I changed routers. I was using a new D-Link Xtreme N Gigabit RouterDIR-655. This router was causing me pain with lock ups. I replaced it with a Cisco Linksys E4200. I have not had a lockup in over 2 months now and not one sync issue with Apple TV nor my new iPhones, which sync wireless to iTunes on my Mac Pro.
Thinking about how my network is wired leads me to believe the issue was in the router, or maybe a network communication change in 10.7.1 that the DIR-655 was not supporting correctly. My MacPro and a few other hardwired access points in my house go directly to the router. My AppleTV and Airport Extreme are connected to a Gigabit switch and the Gigabit switch is then connected to the router. I also turn off the wireless capabilities in my routers, as I prefer to let my Airport Extreme handle those duties. This all means my normal hardwired communication path from my Mac Pro to Apple TV was going through the router, to the switch, to the Airport Extreme and then to my AppleTV. My Apple TV is connected to the LAN port on the Airport extreme. By going wireless on the MacPro, I was bypassing the router altogether.
As I started out saying, since I replaced my router, my sync issues have also gone away. If your having Apple TV sync issues, you might want to look at the router as well. Also, while I can’t remember the exact settings, I had opened up or enabled UPnP and other router settings in the DIR-655 to see if that would resolve the sync issues and it did not. In the end, I just spent the money and bought a new router and life is good now. -
Can i set up iphone 4s to only fetch email when connected to wi-fi?
I know that there are settings that can require mail to be retrieved manually from a mail server, but I was wondering if there is a way to get mail only when connected to wi-fi.
Your best bet is to manually check for mail when you're connected to wifi.
Your other option is to turn off data usage altogether and only use wifi.
settings> general> network -
i dont know how to fix it the screen is white and it only plays when connected to the charger and the worranty has expired so i cant get a new one?????????!!!!!!!!
did anything work
-
IPod classic only shows music when connected to computer
I'm having a problem with my 160 GB iPod classic. Last week, I had it connected to my car stereo (as I always do), and when I unplugged it to plug in headphones while I was shopping, it said "no songs," apparently everything had been erased. When I plugged it back in to my macbook, it had in fact lost all my music, and before I could put anything back on, I had to reformat it in disk utility. Then, I restored and started putting music back on, which took several hours (actually a couple days), because on my computer my music is 320kbps and I have it set to convert to 128 to go on ipod. When it was finished, I ejected it, and it again said "no songs." I plugged it back into the computer, and it shows all the songs, and allows me to play from the iPod in iTunes. Has anyone else had this problem? It seems to be working fine when connected, but on its own, nothing. I use a macbook, and this is the only computer I connect it to (and it is not set to sync automatically). Battery is fully charged.
Looks like your car stereo, may have damage the hardisk, due to unreliable power supply or hard bump.
Do a disk diagnostic, here is the old post by regular contributor -tt2.
https://discussions.apple.com/thread/2362776?start=0&tstart=0
Good luck! -
Inserting XML String into Table with help of Stored Proc
I will be getting XML String from JAVA, which I have to insert in Table A, XML String is as follows
<?xml version = '1.0'?>
< TableA>
<mappings Record="3">
< MESSAGEID >1</ MESSAGEID >
< MESSAGE >This is available at your address!</ MESSAGE>
</mappings>
<mappings Record="3">
< MESSAGEID >2</ MESSAGEID>
< MESSAGE >This isn’t available at your address. </ MESSAGE>
</mappings>
</ TableA >
Table Structure*
MESSAGEID VARCHAR2(15 BYTE)
MESSAGE VARCHAR2(500 BYTE)
This is the stored procedure which I have written to insert data into TableA, V_MESSAGE will be input parameter for inserting XML String
create or replace procedure AP_DBI_PS_MESSAGE_INSERT
V_MESSAGE VARCHAR2(1024)
AS
declare
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
V_FILEHANDLE UTL_FILE.FILE_TYPE;
begin
-- the name of the table as specified in our DTD
xmlgen.setRowsetTag('TableA');
-- the name of the data set as specified in our DTD
xmlgen.setRowTag('mappings');
-- for getting the output on the screen
dbms_output.enable(1000000);
-- open the XML document in read only mode
v_FileHandle := utl_file.fopen(V_MESSAGE);
--v_FileHandle := V_MESSAGE;
loop
BEGIN
utl_file.get_line(v_FileHandle, charString);
exception
when no_data_found then
utl_file.fclose(v_FileHandle);
exit;
END;
dbms_output.put_line(charString);
if finalStr is not null then
finalStr := finalStr || charString;
else
finalStr := charString;
end if;
end loop;
-- for inserting the XML data into the table
rowsp := xmlgen.insertXML('ONE.TableA',finalStr);
dbms_output.put_line('INSERT DONE '||TO_CHAR(rowsp));
xmlgen.resetOptions;
end;Please Help
Edited by: 846857 on Jul 18, 2011 10:55 PMwith t as (select xmltype('<TableA >
<mappings Record="3">
<MessageId>1</MessageId>
<Message> This bundle is available at your address!</Message>
</mappings>
<mappings Record="3">
<MessageId>2</MessageId>
<Message>This isn’t available at your address. </Message>
</mappings>
</TableA >') col FROM dual)
--End Of sample data creation with subquery factoring.
--You can use the query from here with your table and column name.
select EXTRACTVALUE(X1.column_value,'/mappings/MessageId') MESSAGEID
,EXTRACTVALUE(X1.column_value,'/mappings/Message') MESSAGE
from t,table(XMLSEQUENCE(extract(t.COL,'/TableA/mappings'))) X1;Above Code works as i get result
MESSAGEID MESSAGE
1 This bundle is available at your address!
2 This isn’t available at your address.
_____________________________________________ now I want to insert the result into Table A... How to proceed... Please help
Edited by: 846857 on Jul 19, 2011 12:15 AM
Maybe you are looking for
-
Connect to Oracle Database from Windows Mobile
Is there any Oracle Client product that will allow Windows mobile powered devices to connect to an oracle database? I'm using .net and the compact framework 2.0. Anyone have a clue? Regards, Andras Eliassen
-
Ciscoworks daemon manager stuck at Stopping state
I am working on LMS 3.2 . Tried to stop the daemon service with " net stop crmdmgtd ". It stuck on stopping state since few hours now. I can still open the application. Need a suggestion to terminate the previous command and restart the daemon servic
-
I had to buy a new laptop because previous one fried. Can't find my disc for CS5 to install it. I have it installed on my desktop and would like to copy it from one to another. Is there a way to do this?
-
My problem concerns migrating, or moving my iTunes files from a Motorola-based G4 PowerMac OS X 10.4.11 iTunes 9.2.1 (4) to a new Intel-based Mac Pro running OS X 10.8.4 iTunes 11.0.4. Context Summary: 1. Migration assistants on my old and new macs
-
Display of 2 General Ledger Accounts per Accounting Entry
Hi Experts, We have been searching for the right program to use in showing the GL Accounts of each entry. For example, we have to see the Expenses for Water and we also have to know the Withholding Tax used for each entry of the whole year. We have t