Embed a weather feed in specific table?
I am attempting to include a weather info. feed in my web site. When I attempt to put the code for the feed into one location it pops up in a completely different location when I preview the page in a browser. It seems to sort of create its own space outside of the pre-existing tables I have created. It throws off the whole look of the page. Can someone tell me how to put the weather feed exactly inside the table I have designated for it on my page? Thanks for your time.
This is the code for the feed that I have been adding to my site. It works perfectly just not in the location I want.
<iframe marginheight="0" marginwidth="0" name="wxButtonFrame" id="wxButtonFrame" height="170" src="http://btn.weather.ca/weatherbuttons/templateSki.php?placeCode=CABC0711&celsiusF=C&buttont ype=a" align="top" frameborder="0" width="140" scrolling="no"></iframe>
Well, it creates an iframe, which to my knowledge cannot exist in tables. You will have to move it out of there and place it in DIV or anchor it on your page with otehr means.
Mylenium
Similar Messages
-
Error while running query for a specific table
Hi All,
I need your help please.
I've configured everything correctly in my SCCM environment. And i used to connect the CAS database from a separate box(same domain) which has SSMS console installed in it. Now the problem is, whenever i try to run a query in CAS database locally, it runs
successfully. But when i connect the CAS database remotely and run the same query with the same login i used in CAS, it says the below error. This is happening from past 2 days only. :'(
Query ran :
select top 100 * from v_GS_WORKSTATION_STATUS
Error :
Msg 18456, Level 14, State 1, Line 1
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
OLE DB provider "SQLNCLI11" for linked server "abc.domain.com" returned message "Invalid connection string attribute".
I checked the SQL connection authentication information it says authenticated by kerberos using below query :
SELECT
s.session_id
, c.connect_time
, s.login_time
, s.login_name
, c.protocol_type
, c.auth_scheme
, s.HOST_NAME
, s.program_name
FROM sys.dm_exec_sessions s
JOIN sys.dm_exec_connections c
ON s.session_id = c.session_id
where s.host_name='servername'
Result:
136 2015-01-30 17:50:29.277 2015-01-30 17:50:29.280 domain\user TSQL KERBEROS servername Microsoft SQL Server Management Studio
But, another wierd information is i can successfully run the below query in remote.
select * from vSMS_R_System
I think that specific table is not working in remote. Pleaseeeeeeee helppp me......
Regards,
JayHi JaySmiley,
According to your description, you get the logon issue when connecting to CAS database remotely and execute query. Right?
In this scenario, this error can happen when the SPN account is registered without setting 'trusted for delegation' property. Account must be trusted for delegation in order for Kerberos delegation to succeed. Here's a blog talking about your scenario, please
refer to the link below:
http://blogs.technet.com/b/umairkhan/archive/2013/10/19/the-distributed-views-do-not-get-created-in-configmgr-2012-sp1-because-of-the-login-issue.aspx
If you have any question, please feel free to ask.
Simon Hou
TechNet Community Support -
Hi All,
I am looking at an Technical solution for Restricting the direct access some specific tables in my data base to all the users(Except admins and few Service accounts). However views created on top of these tables would be exposed to all Users.
Could any one help me with the best solution.
Thanks in advance,
Regards,
Raja SuriHello,
You can try to create a new role "Client_User" in the database and deny access to the new role on the specify tables. And then add all user which you want to restricting the direct access the specific tables to the database role.
For example:
Use Database
CREATE ROLE [Client_User] AUTHORIZATION db_securityadmin;
DENY SELECT ON OBJECT::schema.table TO [Client_User] ;
EXEC sp_addrolemember 'Client_User', 'username';
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
How to get search help tables of a specific table
Hello Guru,
I've a problem.
I'm looking for a way to find out how many "search help" tables exist in a specified Check Table.
Well, when I look for a check table of a field like MARD-LGORT
I got as a check table T001L, now when I read the data from it, using the function module RFC_READ_TABLE I got all the data that I need, except now that I don't know which fields are actually displayed in the search help table of the field LGORT
This what I want, in my case, the field that I need in the table T001L are : LGOBE LGORT WERKS
All the others, are not so important.
Please let me now, if you have an idea to find this.
The search help table is for LTGORT : H_T001L
Best Regards,
Kaishi ,
try this
in the F4 value..
call funtion ' HELP_VALUES_GET'
DISPLAY = "Text u want to display
FIELDNAME = "Field name in specific table
INPUT_VALUE = "Any default value
TABNAME = "Table name
Exporting
SELECT_VALUE = "The selcted vale in pop=up
SELECT_INDEX = "selected Index.
Regards,
prabhudas -
Manual Exporting of BLOB specific table to text file
Hi,
Our application is having 60000 record in a BLOB specific table.
My requirement is to export the entire table data to text files .
When I tried converting BLOB to sting and writing to file, it took almost 3 mins for 100 records, if so, will take so much of time in exporting data from BLOB specific table.
I am using the following logic,
byte[] bdata = blob.getBytes(1, (int)blob.length());
String data1 = new String(bdata);
buffer.append(data1);
Can anyone please tell me how can I speed up the operation.>
Our application is having 60000 record in a BLOB specific table.
My requirement is to export the entire table data to text files .
>
Welcome to the forum!
If you are looking for a pure Java solution you should post this question in the JDBC forum.
https://forums.oracle.com/forums/category.jspa?categoryID=288
Unless your BLOB data is located inline you are going to use Oracle to read 60,000 files, one at a time, and then use Java to write 60,000 files one at a time.
That will be a very slow process.
Also - your Java code is only going to read the LOB locator and inline BLOB data since you are not getting and processing the actual stream.
See 'Reading and Writing BLOB, CLOB and NCLOB Data' in the JDBC Dev Guide for details
http://docs.oracle.com/cd/B28359_01/java.111/b31224/oralob.htm#sthref756 -
Disable Statistics for specific Tables
Is it possible to disable statistics for specific tables???
If you want to stop gathering statistics for certain tables, you would simply not call DBMS_STATS.GATHER_TABLE_STATS on those particular tables (I'm assuming that is how you are gathering statistics at the moment). The old statistics will remain around for the CBO, but they won't be updated. Is that really what you want?
If you are currently using GATHER_SCHEMA_STATS to gather statistics, you would have to convert to calling GATHER_TABLE_STATS on each table. You'll probably want to have a table set up that lists what tables to exclude and use that in the procedure that calls GATHER_TABLE_STATS.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
SQLPS - Checking for a specific table
I am trying to check for a table existence in each database. Any ideas why this does not work?
Import-Module
"sqlps" -DisableNameChecking
$SQLServer
= "wobdslezberg2"
Set-Location
SQLSERVER:
$dbArray
= Get-ChildItem
-name -Exclude
"tempdb*",
"master*",
"model*",
"msdb*" |
Sort-Object
foreach ($DatabaseName
in $dbArray)
$instance =
$DatabaseName
#write-host $instance
if (test-path
"SQLSERVER:\SQL\wobdslezberg2\DEFAULT\Databases\$instance\Tables\eConfig") {write-host
"exists"}
else {write-host
"not exists"}I am trying to iterate through all the databases on the server and check for the existence of a specific table in each database.
Actually that line does work fine because if I comment out the if test-path line, I get results as expected. and I get list of tables like this
dbo.SRC04_TABLES
How do I put in the schema (dbo) in the test-path?
The test-path does not seem to work as I get this message
Test-Path : Cannot retrieve the dynamic parameters for the cmdlet. SQL Server PowerShell provider error: The number of keys specified does not match the number of keys required to address this object. The number of keys required are: Name.
At line:19 char:9
+ if (test-path "SQLSERVER:\SQL\wobdslezberg2\DEFAULT\Databases\$instance\Tabl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Test-Path], ParameterBindingException
+ FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.PowerShell.Commands.TestPathCommand
Thanks
Scott -
How can I identify reports that use specific tables
Hi, is there a way that I can identify the reports that select from specific tables? We have 3,000 reports in business object enterprise XI R2 SP5. and we're trying to identify all the reports that use a specific table.
Or if you have a developer in Java or .NET available you can write one. Fairly simple to get the info.
In .NET you would open each report, write the name of the report to a log file with the output of the SQL Statement:
Using RAS as the report engine.
GroupPath gp = new GroupPath();
string tmp = String.Empty;
rptClientDoc.RowsetController.GetSQLStatement(gp, out tmp);
MessageBox.Show(tmp, "Data Source Set and SQL Statement", MessageBoxButtons.OK, MessageBoxIcon.Information);
If you want more details is is available with a few more lines of code. The above would only show you what is used in the report.
I don't believe there is a BOE tool that can do this but they may have one.
Here's a link to the BOE Admin forum: BI Platform
Thank you
Don -
Asigning Reports, specific tables and Url links to the Role
Hello Gurus,
could you please tell me the procedure of asigning Reports, specific tables and Url links in the role.actually i know the process of assigning T-Codes to the role but i dont know the procedure for reports and url links and tables...
i hope u people will respond positively.
Cheers.......
srinivas.korvaHi Srinivas,
"i want to add only one particular table not all tables", you can do this using a Custom Transaction Code, the following are the steps to do it:
1) goto se93, give a unique name, say zxxx
2)Enter SE16 into the transaction field and select the flag the skip initial screen field:
3)On the lower portion of the screen, enter the following information:
Name of screen field: DATABROWSE-TABLENAME
Value: Enter the name of the table you want to browse with
4)save it.
5) Now add the transaction zxxx in th role, and assign it to the user.
With this, when user executes the transaction, he/she will be able to see only the perticular table you added.
"in PFCG what is the use of Exper mode for profile generation. what is the difference between general profile generation and expert mode profile generation".
Expert mode has 3 options:
1) Delete and recreate profile and authorizations---This will completely delete the old profile and add only the new once.
2) Edit old status----It will edit the old values
3) Read old status and merge with new data----This will add the new values aithout actually disturbing the old ones.
Hope it helps.
Please award points if it is useful.
Thanks & Regards,
Santosh -
How can I get list of columns used of specific table in all stored procedure?
How can I get used column list of a specific table in among all stored procedure?
Suppose that,
I have a table(VendorMaster) which has 100 columns just I want to know how many columns used in among all stored procedure.We have solved by below query...
IF OBJECT_ID('tempdb.dbo.#SPDependencyDetails') IS NOT NULL
DROP TABLE #SPDependencyDetails
CREATE TABLE #SPDependencyDetails
Or_Object_Database NVARCHAR(128)
,Or_Object_Name NVARCHAR(128)
,Ref_Database_Name NVARCHAR(128)
,Ref_Schema_Name NVARCHAR(128)
,Ref_Object_Name NVARCHAR(128)
,Ref_Column_Name NVARCHAR(128)
,Is_Selected BIT
,Is_Updated BIT
,Is_Select_All BIT
,Is_All_Columns_Found BIT
DECLARE @database_name VARCHAR(100)
DECLARE database_cursor CURSOR
FOR
SELECT name
FROM sys.databases
WHERE database_id =8
OPEN database_cursor
FETCH NEXT FROM database_cursor
INTO @database_name
WHILE @@FETCH_STATUS = 0 --Outer Loop begin
BEGIN
DECLARE @WholeLotofSQL NVARCHAR(MAX) = '
DECLARE @object_name VARCHAR(150)
,@sqlstatement NVARCHAR(2500)
DECLARE object_cursor CURSOR --Inner cursor, iterates list of objects that match type
FOR
SELECT name
FROM '+@database_name+'.sys.objects AS o
WHERE o.type = ''P'' --Change Object type to find dependencies of Functions, Views and etc.
ORDER BY 1
OPEN object_cursor
FETCH NEXT FROM object_cursor INTO @object_name
WHILE @@FETCH_STATUS = 0 --Inner Loop Begin
BEGIN
SET @sqlstatement = ''USE '+@database_name+';
INSERT INTO #SPDependencyDetails
SELECT DB_NAME() AS Or_Object_Database
,'''''' + @object_name + '''''' AS Or_Object_Name
,CASE WHEN referenced_database_name IS NULL THEN DB_NAME()
ELSE referenced_database_name
END AS Ref_Database_Name
,referenced_schema_name AS Ref_Schema_Name
,referenced_entity_name AS Ref_Object_Name
,referenced_minor_name AS Ref_Column_Name
,is_selected
,is_updated
,is_select_all
,is_all_columns_found
FROM sys.dm_sql_referenced_entities(''''dbo.'' + @object_name + '''''', ''''OBJECT'''');''
EXEC sys.sp_executesql @sqlstatement
FETCH NEXT FROM object_cursor INTO @object_name
END
CLOSE object_cursor
DEALLOCATE object_cursor'
EXEC sys.sp_executesql @WholeLotofSQL
FETCH NEXT FROM database_cursor INTO @database_name
END
CLOSE database_cursor;
DEALLOCATE database_cursor;
SELECT Or_Object_Database as 'Database'
,Or_Object_Name as 'Procedure'
,Ref_Object_Name as 'Table'
,Ref_Column_Name as 'Column'
FROM #SPDependencyDetails -
RFC-enabled authorization checks for specific tables?
I am developing an Excel application which calls several BAPIs and RFC-enabled FMs, most notably RFC_READ_TABLE. While I will provide security at the FM level by checking S_RFC for these FMs, I need to find a way of restricting access for users to specific tables based on certain table fields? Is there any SAP-delivered FM/BAPI that will let me do this?
My understanding is that although RFC_READ_TABLE does check S_TABU_DIS, it only checks tables based on their belonging to a particular table classIt is not checking authorization for an individual table. What this means is that users will need to have access to the table class or classes to which the table or tables belong, for any tables that are being read by RFC_READ_TABLE.
Please correct me if I am wrong in my understanding, or if there is a standard solution for a situation like this.Hi john,
1. What this means is that users will need to have access to the table class or classes to which the table or tables belong, for any tables that are being read by RFC_READ_TABLE.
U are perfectly right.
2. The users will have to be given rights
NOT TABLE WISE,
But authorisation group wise.
3. Note : S_TABU_DIS
The main purpose of this authorisation object
is for standard tools like sm30 only.
Its also used in the FM RFC_READ_TABLE .
regards,
amit m. -
Can i embed a weather into keynote
I am trying to producing a looping presentation for a waiting room. I was hoping to embed local weather and news into it, but I cannot find a way to do so. Is it possible with Keynote?
Thank you,
vonmootUnfortunately, the current version of Keynote has removed the ability to embed URLs and provide updated views of web pages. This was possible in earlier versions of Keynote.
However, if you know of someone with Keynote '08 installed, there is a way to make a Keynote presentation with an embedded and updateable URL that you can save (in Keynote '08) and copy to make a working Keynote presentation with embedded URLs in Keynote '09
With Keynote '08 create a Keynote Presentation with one slide. On that slide place an object and with the object selected > Inspector > Hyperlink > Enable as a Hyperlink (checked) > Link to: Webpage > URL : (paste the URL you want) > Update Automatically (checked) > Click Update Now. Save with Keynote '08.
(Your web page will appear - REMEMBER: This only works with Keynote '08 or earlier versions)
When you SAVE your presentation, give it a name that reminds you not to save it again and make copies of this presentation to make your Keynote presentation using Keynote '09 - Do NOT delete the object with the URL, just change the URL in the Inspector.
This does work, but if you overwrite the original by saving again with the same name, you will have to create a new "Master" from scratch as Keynote '09 will overwrite the inspector page for Hyperlinks to the new version. IF everything worked right, the object with the URL will have a slightly different looking Hyperlink Inspector (see attached).
If you'd like to see this feature return to Keynote, let the good folks at Apple know
http://www.apple.com/feedback/
Good Luck -
I need to export specific tables from a schema in database
Eg: select table_name from dba_tables where owner='ANALYTICS' and table_name like 'W_%'
This query returns around 1500 tables.
How can I take export of these 1500 tables (Passing these 1500 tables one by one is not an easy task)
So need to have some tool, where all these tables are retrieved with a " , " and in one liineThe INCLUDE parameter has a limit of 4000 bytes. Pl see these related threads for a solution
exp datapump problem
Re: expdp - tables
HTH
Srini -
Can I run a Unix shell when insert some record on a specific table?
Can I run a Unix shell when insert some record on a specific table?
I need to run a Unix shell when a record be insert on a table. Is there a way in order to do that?
THanks,
Carlos.1. Make a backup of the extproc.c file in the c:\orant\rdbms80\extproc
directory.
2. Create a file called extern.c in the c:\orant\rdbms80\extproc directory.
The "extern.c" file :
#include <oci.h>
#define NullValue -1
#include<stdio.h>
#include<string.h>
long __declspec(dllexport) OutputString(context ,
path , path_ind ,
message , message_ind,
filemode , filemode_ind ,
len , len_ind )
char *path;
char *message;
char *filemode;
int len;
OCIExtProcContext *context;
short path_ind;
short message_ind;
short filemode_ind;
short len_ind;
FILE *file_handle;
int i ;
char str[3];
int value;
/* Check whether any parameter passing is null */
if (path_ind == OCI_IND_NULL || message_ind == OCI_IND_NULL ||
filemode_ind == OCI_IND_NULL || len_ind == OCI_IND_NULL ) {
text initial_msg = (text )"One of the Parameters Has a Null Value!!! ";
text *error_msg;
/* Allocate space for the error message text, and set it up.
We do not have to free this memory - PL/SQL will do that automatically. */
error_msg = OCIExtProcAllocCallMemory(context,
strlen(path) + strlen(initial_msg) + 1);
strcpy((char *)error_msg, (char *)initial_msg);
/*strcat((char *)error_msg, path); */
OCIExtProcRaiseExcpWithMsg(context, 20001, error_msg, 0);
/* OCIExtProcRaiseExcp(context, 6502); */
return 0;
/* Open the file for writing. */
file_handle = fopen(path, filemode);
/* Check for success. If not, raise an error. */
if (!file_handle) {
text initial_msg = (text )"Cannot Create file ";
text *error_msg ;
/* Allocate space for the error message text, and set it up.
We do not have to free this memory - PL/SQL will do that automatically. */
error_msg = OCIExtProcAllocCallMemory(context,
strlen(path) + strlen(initial_msg) + 1);
strcpy((char *)error_msg, (char *)initial_msg);
strcat((char *)error_msg, path);
OCIExtProcRaiseExcpWithMsg(context, 20001, error_msg, 0);
return 0;
i = 0;
while (i < len)
/* Read the hexadecimal value(1). */
str[0] = message;
i++;
/* Read the hexadecimal value(2). */
str[1] = message[i];
/* Convert the first byte to the binary value. */
if (str[0] > 64 && str[0] < 71)
str[0] = str[0] - 55;
else
str[0] = str[0] - 48;
/* Convert the second byte to the binary value. */
if (str[1] > 64 && str[1] < 71)
str[1] = str[1] - 55;
else
str[1] = str[1] - 48;
/* Convert the hex value to binary (first & second byte). */
value = str[0] * 16 + str[1];
/* Write the binary data to the binary file. */
fprintf(file_handle,"%c",value);
i++;
/* Output the string followed by a newline. */
/* fwrite(message,len,1,file_handle); */
/* Close the file. */
fclose(file_handle);
3. Use the make.bat available in the c:\orant\rdbms80\extproc directory. You
need to run vcvars32.bat file before running this batch file. This will
create a dll file.
4. Configure the tnsnames.ora and the listener.ora files.
The tnsnames.ora should contain the following entries.
extproc_connection_data.world =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = ORCL)
(CONNECT_DATA = (SID = extproc)
The listener.ora should contain the following entries.
# P:\ORANT\NET80\ADMIN\LISTENER.ORA Configuration File:p:\orant\net80\admin\listener.ora
# Generated by Oracle Net8 Assistant
LISTENER8 =
(ADDRESS = (PROTOCOL = TCP)(HOST = winnt_nsc)(PORT = 1521))
SID_LIST_LISTENER8=
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = winnt_nsc)
(SID_NAME = ORCL)
(SID_DESC =
(SID_NAME = extproc)
(PROGRAM = extproc)
5. Login from sqlplus and issue the following statements.
create library externProcedures as 'C:\orant\RDBMS80\EXTPROC\extern.dll';
Create or replace PROCEDURE OutputString(
p_Path IN VARCHAR2,
p_Message IN VARCHAR2,
p_mode in VARCHAR2,
p_NumLines IN BINARY_INTEGER) AS EXTERNAL
LIBRARY externProcedures
NAME "OutputString"
With context
PARAMETERS (CONTEXT,
p_Path STRING,
p_path INDICATOR,
p_Message STRING,
p_message INDICATOR,
p_mode STRING,
p_mode INDICATOR,
p_NumLines INT,
p_numlines INDICATOR);
This is the pl/sql block used to write the contents of the BLOB into a file.
Set serveroutput on before running it.
SQL> desc lob_tab;
Name Null? Type
C1 NUMBER
C2 BLOB
lob_tab is the table which contains the blob data.
declare
i1 blob;
len number;
my_vr raw(10000);
i2 number;
i3 number := 10000;
begin
-- get the blob locator
SELECT c2 INTO i1 FROM lob_tab WHERE c1 = 2;
-- find the length of the blob column
len := DBMS_LOB.GETLENGTH(i1);
dbms_output.put_line('Length of the Column : ' || to_char(len));
-- Read 10000 bytes at a time
i2 := 1;
if len < 10000 then
-- If the col length is < 10000
DBMS_LOB.READ(i1,len,i2,my_vr);
outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'wb',2*len);
-- You have to convert the data to rawtohex format. Directly sending the buffer
-- data will not work
-- That is the reason why we are sending the length as the double the size of the data read
dbms_output.put_line('Read ' || to_char(len) || 'Bytes');
else
-- If the col length is > 10000
DBMS_LOB.READ(i1,i3,i2,my_vr);
outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'wb',2*i3);
dbms_output.put_line('Read ' || to_char(i3) || ' Bytes ');
end if;
i2 := i2 + 10000;
while (i2 < len ) loop
-- loop till entire data is fetched
DBMS_LOB.READ(i1,i3,i2,my_vr);
dbms_output.put_line('Read ' || to_char(i3+i2-1) || ' Bytes ');
outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'ab',2*i3);
i2 := i2 + 10000 ;
end loop;
end; -
Can anyone help me embed an rss feed
I am trying to embed an rss feed. Any help available?
Here's a link to a tutorial for AS3 - RSS XML feed
http://www.gotoandlearn.com/play?id=64
Maybe you are looking for
-
Hi! How can I change the header text direction to vertical?
I have many columns with big names, but I need small space for body cells, and I want to check all the table at a view ... So I want to change the direction of the header texts to "left vertical" or "right vertical".
-
Google calendar sync - deleted repeating items do not sync to iPad
Hi, I'm syncing several Google calendars with the iPad. (the calendars are also synced with my computer, through iCal.) I have several repeating items in the calendar, but when I delete just one of them, the change is not reflected on the iPad. (iCal
-
HT202801 Cannot connect 2nd Thunderbolt Display or HDMI TV
Hi, I can't seem to get my 2nd Thunderbolt Display or HDMI TV to work or be recognized on my MacPro. I do have my primary Thunderbolt display working. I went through the setup options that was on the how to article to set it up, and still nothing. Un
-
How to redefine GOS toolbar function "SEND OBJECT WITH NOTE" for deliveries
Hello Abapers, for inbound and outbound deliveries (tcodes VL01N, VL02N, VL03N, VL31N, VL32N, VL33N) I have to replace the GOS toolbar function SEND OBJECT WITH NOTE with a redefined function matching the following specifications: - Title field needs
-
Hi, in Apple ID setting page I can see alternative email adress.actually it's not belongs to me . I want to delete that. Is it possible?