Converting 1/00 of a second to HH:MM:SS
In my PL/SQL statement, I'm using the following fuction DBMS_UTILITY.GET_TIME to get the starting and ending times of a sql process. It works fine but it returns the value in 1/100 of a second or microseoncds. Has anyone come up or know of a function that converts those microseconds to HH:MM:SS?
Thanks!
Glenn
If your desired time granularity is to the whole second, just use SYSDATE instead of DBMS_UTILITY.get_time. DBMS_UTILITY.get_time merely returns the 1/100 second difference from some arbitrary point in time.
DECLARE
timer DATE := SYSDATE;
BEGIN
-- do some stuff
DBMS_OUTPUT.put_line( SYSDATE - timer );
-- which will return the floating point value where 1 = one day
END;Michael
Similar Messages
-
Regarding function module to convert hours to minutes and seconds to minute
hi all,
is there any function module to convert hours to minutes and seconds to minutes....if so please guided me....i hav req like this...want to convert all those to minutes[seconds and hours]....Hi,
Use FM
SD_CALC_DURATION_FROM_DATETIME
Pass paramters like
I_DATE1 16.09.2008
I_TIME1 10:33:00
I_DATE2 16.09.2008
I_TIME2 19:00:00
and you will get the result as below..
E_TDIFF 8:27
8 hours and 27 minutes...
Now u can use this values of hours and minutes to get the exact wage type values... get the details from HR module and multiply it with the hours and minute and calculate it...
Use Offsets and get the hour and minute value from E_TDIFF
Hope it will solve your problem..
Thanks & Regards,
Naresh -
Problem in converting the date format in Second's place
I am developing an application using OAF in JDeveloper.
I have to pass the current date from my page to a quary to filter the data.
I used the following:
String PresentDate=this.getOADBTransaction().getCurrentDBDate().toString();
However it is sending a date like '2011-03-22 17:04:14.0'. Here if you see the seconds place, it has a fraction as well.
I need to convert it by using TO_DATE(PresentDate, 'YYYY-MM-DD HH24:MI:SS')
But because of the fraction in Seconds place, it gives an error.
Can anyone help me to solve this problem?
Thanks & Regards
HawkerHawker,
Instead of that use..
//Calling dateValue( ) does not include time.
long sysdate = transaction.getCurrentDBDate().dateValue();
Regards,
Gyan -
Converting HH24:MI:SS to seconds Issue
Hallo Everyone,
I’m fairly new (read: about 2 days) to the whole PL/SQL world and I’ve run into a little problem with one of my projects. I’ve googled and looked around the forums and tried to apply what I have picked up but so far without much success.
The general situation is as follows:
I am creating a .bat file which will take data from a comma separated file and “upload” the data into a table of my choosing. However, in the file I’m trying to “upload”, one of the columns contains a time value of the type HH24:MI:SS (for example: 0:05:32). The column sequence in the file matches that of my table and the .bat file.
My standalone table for testing this conversion looks like this:
Table: Conversion_Test
Column Name Data Type
AUTO_ID NUMBER (12)
TIME NUMBER (12)
WORKING VARCHAR2 (32 Byte)
UPLOAD_DATE DATE
The columns AUTO_ID and UPLOAD_DATE are filled by triggers which have been tried, tested and found to be working just fine. My test file contains 1 row of raw data (no headers or other information is present).
I have managed to convert the HH24:MI:SS into seconds through the SQL*Plus interface with the following query:
SELECT
sysdate, to_number(substr('00:05:32',1,2)*3600 + substr('00:05:32',4,2)*60 + substr('00:05:32',7,2))
from dual
Which returns the correct result:
SYSDATE
TO_NUMBER(SUBSTR('00:05:32',1,2)*3600+SUBSTR('00:05:32',4,2)*60+SUBSTR('00:05:32
23-10-08
332
Potential Relevant Content off .bat file (not all of it):
LOAD DATA
INFILE "dat\%date%.dat"
Append
INTO TABLE Conversion_Test
FIELDS TERMINATED BY ';'
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*
Working
* XXXXXXXX = Location of relevant statement.
I have tried duplicating the results from my sysdate query with the following statements:
1. Time "to_number(substr('Time',1,2))*3600" + "to_number(substr('Time',4,2))*60" + "to_number(substr('Time',7,2))",
This generates the following error message:
SQL*Loader-350: Syntaxiserror in row 7.
"," of ")" expected, "+" found.
Time "to_number(substr('Time',1,2))*3600" + "to_number(substr('Time' ^
2. Time “to_number(substr('Time',1,2))*3600 + to_number(substr('Time',4,2))*60 + to_number(substr('Time',7,2))",
3. Time "to_number(substr('Time',1,2))*3600 + (substr('Time',4,2))*60 + (substr('Time',7,2))",
These generate the following error message:
Record 1: denied – error in table CONVERSION_TEST, Column TIME.
ORA-01722: invalid number
4. Time "to_number(substr('Time',1,2))*3600 + (substr('Time',4,2))*60 + (substr('Time',7,2)) from dual",
This generates the following error message:
Record 1: denied – error in table CONVERSION_TEST, Column TIME.
ORA-00917: missing comma
Question: What I want to do is convert this HH24:MI:SS “format” into seconds and then put them into a numbers column in my table by running the .bat file.
I hope I have provided enough information to give you a good insight into the problem and potential solutions.
With regards,
Luhaine
Edited by: user10465140 on 23-okt-2008 7:28
Edited by: user10465140 on 23-okt-2008 7:30
Edited by: user10465140 on 23-okt-2008 7:30
Edited by: user10465140 on 23-okt-2008 7:33 - Clearafication and Clean up.This keep getting weirder and weirder.
The reason why I am using a .bat file is because the end user of this little upload procedure is going to be someone who's SQL capabilities are that of a monkey (at best). So it needs to be relativly simple (think basic console window where one has to put in his password before uploading starts).
In the .bat file I basicly echo every line to the control file and establish a connection with username to the database where the target table is located. See below for snippets from the .bat file. Inspired with new hope that you managed to pull it off I went forth and replicated your table and query. Alas to no avail.
I use the same source data.
.dat file:
0:05:32
23:43:23
22:43:23
10:00:00
11:00:00
12:00:00
7:20:00 I use basicly (don't see why or how the difference could create this problem) the same ctl file:
echo LOAD DATA >>loaddata.ctl
echo INFILE "dat\%date%.dat" >>loaddata.ctl
echo Append >>loaddata.ctl
echo INTO TABLE Conversion_Test >>loaddata.ctl
echo FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS >>loaddata.ctl
echo ( >>loaddata.ctl
echo ACTUAL >>loaddata.ctl
echo ,secs "to_number(to_char(to_date(:ACTUAL, 'HH24:MI:SS'), 'SSSSS'))" >>loaddata.ctl
echo ) >>loaddata.ctl
echo off
cls
echo Enter your database password:
sqlldr userid=xxxx@yyyy control=loaddata.ctl log=log\Data_Extract_Nummer_Periode_%date%.log
echo on
{code}
The same table build.
{code}
Naam Null? Type
ACTUAL VARCHAR2(10)
SECS NUMBER
{code}
This is what I get :(
{code}
ACTUAL SECS
0 0
2 7200
2 7200
1 3600
1 3600
1 3600
7 25200
{code}
So I'm clueless as to why you would get the proper results and I'm stuck with these weird ones.
I've been on track to another possible sollution to the issue by using the replace and ldap function to remove the "":" from the time, supplement it to a 6 digit number, then use positions to calculate the total amount of seconds. I've only begun exploring this one a while ago.
PS. How do you format your tables so nicely without them going haywire with the ultra amoutn of breaks additions that rich text mode seems to do.
Edit:
I've just spotted something. The line:
FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
Is not getting echo'd to the control file. Could this be causing the problem? -
How to convert frames into hours:minutes:seconds?
if I have some columns which contains the time value in frames, i.e. Content_Duration, program_duration etc.
How can I convert those frames in hh:mm:ss?
Is it possible to do it with a function do that so that I can re-use it?
ThanksI am not quite sure where you get content_interval from?CONTENT_INTERVAL comes from the function call "numtodsinterval( content_duration / 1500, 'MINUTE' )" in the inline view.
You might want to code it as "numtodsinterval( content_duration / 25, 'SECOND' )" to match the 25 frames/second standard you mentioned after I posted my reply.
will it allow more than 99 hours? i.e. 154:57:40?Actually, it won't work for more than 23 hours, 59 minutes, 59 seconds. For larger numbers this technique requires a field for the number of days, like this.
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 29 12:41:38 2007
create table t ( content_duration number );
Table created.
insert into t values ( 1500*60*99 /* = 99 hours */ );
1 row created.
commit;
Commit complete.
select
lpad(extract(DAY from content_interval),2,'0')||' '||
lpad(extract(HOUR from content_interval),2,'0')||':'||
lpad(extract(MINUTE from content_interval),2,'0')||':'||
lpad(extract(SECOND from content_interval),2,'0')
as result
from
( select numtodsinterval( content_duration / 25, 'SECOND' ) as content_interval
from t
RESULT
04 03:00:00
1 row selected.
-- if you're going to show DAYS though, the following way is simpler
select
cast
( numtodsinterval( content_duration / 25, 'SECOND' ) as interval day(2) to second(0))
as result
from t ;
RESULT
+04 03:00:00
1 row selected.If you really need output like 99:00:00 instead of +04 03:00:00 then take Volder's approach.
Is it possible to do it as a function?Anything you can do with a SQL query you can probably do inside a function, but for a line of code like "cast ( numtodsinterval( ..." I personally wouldn't bother.
Joe Fuda
SQL Snippets -
Convert Format Day, Hour, Minute, Seconds in Hours
Hi all,
I have one report generate by VoIP application like this:
Total of hour has showed in Day (4). hour (20): Minute (26): seconds (06) summarize 4.20:26:06
I need convert this format only how like 116 (hours) 26 (twenty six) Minutes 06 (Six) seconds. summarize 116:26:06
How I can make this?
Regards!
Douglas Filipe http://douglasfilipe.wordpress.comHi,
I'm marking the reply as answer as there has been no update for a couple of days.
If you come back to find it doesn't work for you, please reply to us and unmark the answer.
Thanks
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]" -
How to Convert frames into minutes and seconds
Hi,
does anyone know how to convert frames into time (minutes and
seconds). I need the users to view the swf with current time being
played and over time. I have 2152 frames in total and I want that
to be converted to time. Can anyone help me on this. I would really
appreciate it. It is very urgent!!!!
ThanksTime Indicator,
> does anyone know how to convert frames into time
(minutes
> and seconds).
That depends entirely on the framerate of the movie. At the
default
12fps, 12 frames would be one second; 24 frames would be two.
At 24fps, 24
frames would be one second.
> I need the users to view the swf with current time being
played
> and over time. I have 2152 frames in total and I want
that to be
> converted to time. Can anyone help me on this. I would
really
> appreciate it. It is very urgent!!!!
Judging by your four exclamation points, I'd say it's
definitely urgent!
Well, again, if you're at 12fps, 2152 frames would take 179
seconds, or 2
minutes and 59 seconds. I arrived at that number by dividing
2152 by 12.
Keep in mind, though, framerate is actually more of a
guideline than an
exact figure. Framerate determines the rate at which Flash
will *try* to
display content. On an especially slow computer, the Flash
Player may not
be able to keep up, and the same number of frames might
actually take more
time.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
days/hours/minutes/seconds.
Does anyone know how to convert a # that equals total seconds to days/hours/minutes/seconds??
Thanks as always
Adami guess you can mod the number with 360 first and get the number of days, then get the remainder and mode by 60 get the hour and so forth, maybe a better way is using recursive function to return you a final result. Hopefully this will help, don't complain on me if I am misleading you since this is my first time try to help.
-
I need help to convert hours,minutes and seconds to seconds.
Hi, I need help with the code on how to convert the hours,minutes and seconds to seconds. I don't know which formula to use so that I can get the results in total number of seconds. Thanks.
Jos ("when in doubt: parenthesize correctly")Bracist.You're more right than you'd known: last week I climbed over a safety
fence (which I wasn't supposed to do of course) to adjust the position
of an optical measurement device we installed in a huge production
machine in a factory. I stepped on some sort of hose; the end of that
hose broke loose and hit me straight in the middle of my lower jaw. My
front teeth feel wiggly now and my molars on the left of my lower jaw are
not what they used to be. This Wednesday I get that all fixed at some
dental clinic. Keep your fingers crossed because me+dentists == war.
My tongue continuously keeps on reporting craters and disaster ;-)
Jos, how's it going? Besides a possible loss of some teeth, I'm fine ;-)
My Spring/Hibernate journey continues. I'm trying out Hibernate 3.2
annotations and the Ant tools. So far, so good.Good to hear. At the moment I'm putting my teeth (sic) in that darn snmp
stuff which simply refuses to work the way I want it and besides that I'm
heavily involved in some of that SAP stuff. Spring is not in the vicinity for
me in the next couple of months sadly enough.
kind regards,
Jos -
Converting to a new version of a complextype
Hello
I have two versions of the contentOrganizationType complex type which are declared in separate locations.
And I have one record in a xmltype-table which includes an instance of the first version (v1.0) of the contentOrganizationType which is defined in the "oebs_content_organization_element.xsd".
And I try to convert this instance to the second version (v2.0) by the next transformation:
DECLARE buf xmltype;
BEGIN
select
xmltype(
replace(
replace(
REPLACE(
(xmltransform(
extract(OBJECT_VALUE, '/oebs:root/c:content[@xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization [b]oebs_content_organization_element.xsd"]', 'xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:c="http://www.rosbank.ru/oebs/content/organization" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'),
XMLType(bfilename('XMLDIRECTORY', 'organization_to_v2.0.xsl'), nls_charset_id('AL32UTF8'))
).getStringVal()),
chr(38) || 'lt;',
'<'
chr(38) || 'gt;',
'>'),
chr(38) || 'quot;',
into buf
from oebs
UPDATE oebs
SET OBJECT_VALUE =
deleteXML(OBJECT_VALUE,'/oebs:root/c:content[@xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element.xsd"]', 'xmlns:oebs="http://www.rosbank.ru/oebs" xmlns:c="http://www.rosbank.ru/oebs/content/organization" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"')
UPDATE oebs
SET OBJECT_VALUE =
appendChildXML(OBJECT_VALUE,'/oebs:root',buf,'xmlns:oebs="http://www.rosbank.ru/oebs"');
end;
In other words I try to remove an instance of the first version, convert it to the second version by the xmltransform operation and insert it into the table.
Here is the fragment of a xsl from the "'organization_to_v2.0.xsl":
<xsl:text disable-output-escaping="yes"><![CDATA[<organization:]]></xsl:text>
<xsl:value-of select="local-name()"/>
<xsl:text disable-output-escaping="yes"><![CDATA[ xmlns:organization="]]></xsl:text>
<xsl:value-of select="namespace-uri()"/>
<xsl:text disable-output-escaping="yes"><![CDATA[" xsi:schemaLocation="]]></xsl:text>
<xsl:value-of select="namespace-uri()"/>
<xsl:text disable-output-escaping="yes"><![CDATA[ oebs_content_organization_element_V2.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">]]></xsl:text>
<xsl:text disable-output-escaping="yes"><![CDATA[</organization:]]></xsl:text>
<xsl:value-of select="local-name()"/>
<xsl:text disable-output-escaping="yes"><![CDATA[>]]></xsl:text>
And here is the result of xsl (xmltransform):
<organization:content xmlns:organization="http://www.rosbank.ru/oebs/content/organization" xsi:schemaLocation="http://www.rosbank.ru/oebs/content/organization oebs_content_organization_element_V2.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><organization><org_structure_version_id>1</org_structure_version_id><organization_id>2283</organization_id><organization_id_hrom></organization_id_hrom><organization_id_parent_hrom>3108894</organization_id_parent_hrom><event_name>CREATE</event_name><org_name>????????? ?????? ??? ??? ???????</org_name><date_from>01.12.2004</date_from><date_to></date_to><organization_id_parent>2209</organization_id_parent><organization_code>01.00.066.0.000.000.00.000.00</organization_code><organization_type>??????</organization_type><max_last_update_date>29.10.2007 12:36:35</max_last_update_date><p_union_par>2283|ORGANIZATION|CREATE|01.12.2004|29.10.2007 12:36:35|13.02.2007 15:56:28|27.11.2006 11:21:29|14.06.2006 00:00:00|01.12.2004|</p_union_par><element1>0</element1></organization></organization:content>
And I get the next error:
ORA-30937: No schema definition for 'element1' (namespace '##local') in parent '/root/content/organization'
ORA-06512: on line 30
The "element1" is a new element which was added in the second version (v2.0) of the contentOrganizationType. The version v2.0 is located in the "oebs_content_organization_element_V2.0.xsd".
As you can see the result of a xmltransform is the element which has the "oebs_content_organization_element_V2.0.xsd" schema location too.
I think that unfortunately in this case a checking against the first version is happening but the first version doesn't have a definition of the "element1".
Can someone give me any suggestions about how to change this testcase to make it possible to insert a new part inside a whole record instead a old part in case when both parts have the same type but different versions?
Regards
DmitryHello, Marko.
Thank you for your answer.
The copyevolve is the one way which can be used in my case but I need to process particular range of records which include an instance of a special complextype.
I don't need to convert a whole table because only about one percent of records must be processed. I think converting of a whole table will reduce a processing speed.
Is it possible to use the copyevolve in this case?
How to use the copyevolve to convert a data for a sub-tree of a xml-schema if I need to transform it by a xsl?
Regards
Dmitry -
Convert time in miliiseconds to date format
I have a column in my table with datatype number(38,0) , in that column i have values in form of miliseconds since 1970 e.g 1152567973042...
i have a requirement to convert this time in milliseconds to today's date, which i can do as
1152567973042 / 3600 / 24 / 365 == x
1970 + x = today's date
is there a function in oracle supporting this, or i have to customize my requirements and write a function.
Thanks in anticipationYour function will not work precisely because it does not account for leap years. You should use Oracle date math. If you add a number to an Oracle date datatype, it assumes that the number is in days. Oracle will automatically account for leap years. Try this:
DECLARE
mydate DATE;
milliseconds_since_1970 NUMBER(30,7);
BEGIN
milliseconds_since_1970 := ?;
mydate := TO_DATE( '01-JAN-1970', 'DD-MON-YYYY') + milliseconds_since_1970/(1000*60*60*24);
DBMS_OUTPUT.PUT_LINE('mydate = ' || to_char( mydate, 'DD-MON-YYYY HH24:MI:SS' ) );
END;
This converts your milliseconds (replace ? with the number) to days and then adds the days to January 1, 1970. The result is an Oracle date datatype adjusted for leap years.
Oracle date datatypes have hours, minutes, and seconds. Since these were not specified for 1/1/1970, they default to zero. Since milliseconds_since_1970 has 7 decimal places, it will contain fractional days which Oracle converts to hours, minutes, and seconds.
I'm not sure what format Oracle stores date datatypes in. You have to convert them with a format string every time you use them.
Kevin Tyson -
I have an ipod 3td gen running 5.1.1 and i have already got tracks onto the ipod but want to add tracks which have been converted to itunes from my second computer how do i go about doing this
Many thanks but however i am still unable to copy one libarary to my ipod.
followed the step but when it goes to itunes and select my device it does that but not the add function is ther anyother way -
Error when add seconds to Time Stamp format
Hi,
I've created a subVI that transform an string data/time to Time stamp format.
The subVI seems that it works fine, but when I use the data 26/10/2014 and I add 1 day, it crashes! The result is 26/10/2014 23:00:00 instead of 27/10/2014 00:00:00.
Cordially
Vicen
Solved!
Go to Solution.
Attachments:
Convert Date-Time strings to Seconds.PNG 405 KB
Sha Convert Date-Time strings to Seconds v2.vi 24 KBThank you both!
I think I've solved the problem.
Vicen
LV 2010/2011 on WinXP/Win7
Attachments:
Sha Convert Date-Time strings to Seconds v2b.vi 26 KB -
How to change '06-DEC-06 : Sites Converted From 005 To 001' to '06-Dec-06'
hi all i have one requirement.
Parameter : p_text1(80) type c value 06-DEC-06 : Sites Converted From 005 To 001,
P_text2(80) type c value As Country Has Move Off EST "RED" List.
Using below logic
AT SELECTION-SCREEN.
TRANSLATE P_TEXT1+1(69) TO LOWER CASE.
TRANSLATE P_TEXT2+1(69) TO LOWER CASE.
TRANSLATE P_TEXT3+1(69) TO LOWER CASE.
DATA : CTR TYPE I.
DATA : L TYPE I.
DATA : POS TYPE I.
DATA : POSB TYPE I.
L = STRLEN( P_TEXT1 ).
DO L TIMES.
POS = SY-INDEX.
POSB = SY-INDEX - 1.
CHECK POS >= 2.
IF NOT P_TEXT1POS(1) IS INITIAL AND P_TEXT1POSB(1) IS INITIAL.
TRANSLATE P_TEXT1+POS(1) TO UPPER CASE.
ELSEIF NOT P_TEXT2POS(1) IS INITIAL AND P_TEXT2POSB(1) IS INITIAL.
TRANSLATE P_TEXT2+POS(1) TO UPPER CASE.
ELSEIF NOT P_TEXT3POS(1) IS INITIAL AND P_TEXT3POSB(1) IS INITIAL.
TRANSLATE P_TEXT3+POS(1) TO UPPER CASE.
ENDIF.
ENDDO.
when i ran this report output is coming like '06-dec-06 : Sites Converted From 005 To 001' but my requirement is '06-Dec-06 : Sites Converted From 005 To 001'
second text is As Country Has Move Off EST "RED" List
my requirement is As Country Has Move Off EST "RED" ListHi maheedhar.t,
Would it be ok if you just change your parameters like this so that there is no longer a need to TRANSLATE the value?
SELECTION-SCREEN BEGIN OF BLOCK A.
Parameter: p_text1 TYPE rlgrap-filename DEFAULT '06-DEC-06:Sites Converted From005 To 001'.
Parameter: p_text2 type rlgrap-filename DEFAULT 'As Country Has Move Off EST "RED" List'.
SELECTION-SCREEN END OF BLOCK A.
If your parameters are like this it will not be translated to ALL-CAPS in the first place.
Hope this gives you an idea. -
FM for microseconds to hours : minutes : seconds : microseconds conversion
Hi Expart ,
Is there is any Fm to Convert microseconds to hours : minutes : seconds : microseconds. Actually i get the runtime in Micro second and i need to display it in above format .
Please help me to get the fm or other simple way to do this
Thanks
RajuHi,
Use this link
FM to converts seconds into HH:MM:SS
Function Module for converting seconds into hours and minutes
Hope these will help you.
Regards,
Vijay
Maybe you are looking for
-
Newb needs help w small office network setup
Just started a new job at small start-up company that needs their 6-7 macs and a couple of printers networked. I'm just a designer and I'm trying to help but I'm not familiar with osX networking and I hope someone could point me in the right directio
-
How GL groups AP transactions into Journals
Hi, When I transfer AP transactions like validated invoices and payments how they get grouped into Journals in GL. Is it one Journal per invoice/payment or invoice lines can be distributed to multiple journals? What is the criteria transfer program o
-
Imported files & modified with Photoshop CS cant be added to Library
I imported digital photos and then edited files with Photoshop CS(JPG) files. Can't be recognized files when I try to "add" to library. Files can be seen in preview. How do I add the files?
-
Safari and mail now won't launch
Hello I have done something very silly. I run 10.3.9 and downloaded and installed Safari 3 not realising it wasn't compatible. It was allowed to install indicating the install was successful. However Safari and mail now won't launch. Have I lost the
-
Is it allowed to Create your own indexes on not-udf fields
Hi all I have a customer who ask if it is allowed to add you own clustered indexes on the SBO Tables on the Fields that are not UDF.. Example: GO CREATE NONCLUSTERED INDEX [<Name of Missing Index, sysname,>] ON [dbo].[RDR1] ([LineStatus],[U_ET_1_3])