Compare a column with the another table coulmn(which contains the sequence) and get the value which has higher sequence
Hi All,
I have 2 tables
table1: col1 sequenceid, col2 code
table2:col1 studentID , col2 code, col3 joindate
in table 1 i have values as
1 Q
2 W
3 E
4 R
5 T
6 Y
Table2:
A1 Q
1-04-2015
A1 W
2-04-2015
A3 Q
1-04-2015
A2 Q
1-04-2015
A3 W
2-04-2015
A2 W
2-04-2015
A2 E
2-04-2015
A3 E
2-04-2015
A1 E
2-04-2015
A2 R
2-04-2015
Now i want ouput as
A3 E
A2 R
A1 E
I want to group the values in table2 based on studentid order by the sequence in the table1 and get the latest which is having higher sequence (Note: the date field cannot be used to order the values)
from @table2 a inner join @table1 b on a.col2=b.col2 collate database_default)
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence
Similar Messages
-
How do I get iTunes 11 to work as the old iTunes did in this respect: after playing a song in one playlist, I click on another playlist, highlight a song, press play, and get the result of that song playing & that playlist continuing? As it goes now, one clicks on the song in the new playlist where the arrow is and then chooses 'Play Song Next.' So, it plays next, but then the song after that is back in the old playlist. I want to use iTunes smoothly without the extra clicks I've had to do in order to get the playlist to continue. This is music for background while I play the violin at restaurants, and extra clicks and hassle is quite unappreciated, especailly since it worked fine in the previous iTunes.
Thanks.At the top of the playlist where it shows the playlist title and the number of songs, there are two icons. Click the "play" triangle to add the entire playlist to "Up Next", or the "shuffle" symbol to do the same thing but in random order. But the currently playing track will stop playing, and all the songs in "Up Next" will be removed (replaced by the ones from this playlist).
If you hold down the "option" key while clicking those icons, the currently playing song will continue playing, and the new playlist will be added to "Up Next" (above the songs that were already there). -
I have been attempting to partition a 2 GB hard drive that I just formatted using the Disk Utilty in Mountain Lion (10.8) and get the following error message:
DiskManagementTool has died. Disk Utility will need to be restarted. The log shows the following:
2012-09-10 11:20:51 -0700: Preparing to partition disk: “HitachiG ST Media”
2012-09-10 11:20:51 -0700: Partition Scheme: GUID Partition Table
2012-09-10 11:20:51 -0700: 2 partitions will be created
2012-09-10 11:20:51 -0700:
2012-09-10 11:20:51 -0700: Partition 1
2012-09-10 11:20:51 -0700: Name : “Alex's External Storage”
2012-09-10 11:20:51 -0700: Size : 1.5 TB
2012-09-10 11:20:51 -0700: File system : Mac OS Extended (Journaled)
2012-09-10 11:20:51 -0700: Do not erase contents
2012-09-10 11:20:51 -0700:
2012-09-10 11:20:51 -0700: Partition 2
2012-09-10 11:20:51 -0700: Name : “Alex's External Storage 2”
2012-09-10 11:20:51 -0700: Size : 500.05 GB
2012-09-10 11:20:51 -0700: File system : Mac OS Extended (Journaled)
2012-09-10 11:20:51 -0700:
2012-09-10 11:20:51 -0700: Beginning partition operations
2012-09-10 11:20:51 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
2012-09-10 11:20:55 -0700: Disk Utility started.
Does anyone have any thoughts? Cant find anything on the web with thisI have been attempting to partition a 2 GB hard drive that I just formatted using the Disk Utilty in Mountain Lion (10.8) and get the following error message:
DiskManagementTool has died. Disk Utility will need to be restarted. The log shows the following:
2012-09-10 11:20:51 -0700: Preparing to partition disk: “HitachiG ST Media”
2012-09-10 11:20:51 -0700: Partition Scheme: GUID Partition Table
2012-09-10 11:20:51 -0700: 2 partitions will be created
2012-09-10 11:20:51 -0700:
2012-09-10 11:20:51 -0700: Partition 1
2012-09-10 11:20:51 -0700: Name : “Alex's External Storage”
2012-09-10 11:20:51 -0700: Size : 1.5 TB
2012-09-10 11:20:51 -0700: File system : Mac OS Extended (Journaled)
2012-09-10 11:20:51 -0700: Do not erase contents
2012-09-10 11:20:51 -0700:
2012-09-10 11:20:51 -0700: Partition 2
2012-09-10 11:20:51 -0700: Name : “Alex's External Storage 2”
2012-09-10 11:20:51 -0700: Size : 500.05 GB
2012-09-10 11:20:51 -0700: File system : Mac OS Extended (Journaled)
2012-09-10 11:20:51 -0700:
2012-09-10 11:20:51 -0700: Beginning partition operations
2012-09-10 11:20:51 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
2012-09-10 11:20:55 -0700: Disk Utility started.
Does anyone have any thoughts? Cant find anything on the web with this -
Whilst setting up my mums ipad air, i used my account instead of creating a new one. Is there a way i can reset it and set it up again so she can use it and still download the free apps (iWork) etc
Setup as new
Settings>General>Reset>Erase all content and settings
You will not get the free apps because the free apps are registered to your Apple ID. -
I've been keeping my passwords in an application called 1Password. I was assured (by a knowledgeable user, not by anyone official) that when I upgraded to Firefox 5.0, the 1Password addon would be updated ... But that doesn't seem to have happened. As I rely on 1Password to track my passwords, this is a problem.
Take it back to the place that installed the battery and ask them to check their installation.
-
I have updated the imovie app on my macbook pro, which took a few times to complete. The app works fine, but the update does not show in my purchases on the app store. Is anyone else having this issue?
Try running the combo updater.
10.8.3 Combo Update -
Downloading a binary via IE and getting the "corrupt or invalid" message
Hi,
I'm trying to resolve the issue when downloading a binary via IE and getting the "corrupt or invalid" message.
I've tried using the /tr switch instead of /t, however I still get the same problem.
I'm using the signtool.exe from SDK 8.1 and IE version 10.0.9200.17028
I've tried using the following time stamp server but it did not responded:
http://timestamp.verisign.com/scripts/timstamp.dll
so I've used this one instead:
http://timestamp.globalsign.com/scripts/timstamp.dll
but even though I still get the "corrupt or invalid" message.
ThanksHi,
see
http://blogs.msdn.com/b/ieinternals/archive/2014/09/04/personalizing-installers-using-unauthenticated-data-inside-authenticode-signed-binaries.aspx
Questions regarding Internet Explorer 8, 9 and 10 and Internet Explorer 11 for the IT Pro Audience. Topics covered are: Installation, Deployment, Configuration, Security, Group Policy, Management questions. If you are a consumer looking for answers or to
raise a question, it's highly recommended you head on over to http://answers.microsoft.com
does the problem persist If you upgrade to IE11/win8.1?
Rob^_^ -
Copying Long Raw Column Data to another table
hi everyone,
i am trying to Copy Long Raw Column Data to another table in the same schema. this is the situation
Table A (col1 number,col2 long raw) with 100 records
Table B (col1 number,col2 long raw) with 0 records
now i want to copy col2 of the table A into the column 2 of the table B. but long raw data cant be retrieved in a select statement so is there any specific procedure that will copy long raw data or there is any simple way.
i will be really grateful for anybody's help.
thanx
shakeelDust off that old SQL*PLUS command "COPY" ...
create table tablea (col1 number,col2 long raw)
insert into tablea values (1, testrawio.chartoraw('this is line one'));
insert into tablea values (2, testrawio.chartoraw('this is line two'));
insert into tablea values (3, testrawio.chartoraw('this is line three'));
create table tableb (col1 number,col2 long raw)
copy from scott/tiger@larry insert tableb (col1, col2) using select col1, col2 from tablea
Array fetch/bind size is 15. (arraysize is 15)
Will commit when done. (copycommit is 0)
Maximum long size is 80. (long is 80)
3 rows selected from scott@tiger.
3 rows inserted into TABLEB.
3 rows committed into TABLEB at DEFAULT HOST connection.
SQL>Now to prove it has worked :
begin
for lr in (select col1, col2 from tableb)
loop
dbms_output.put_line('col1 = '||lr.col1||
' and col2 contains long raw equivalent of '||testrawio.rawtochar(lr.col2));
end loop;
end;
col1 = 1 and col2 contains long raw equivalent of this is line one
col1 = 2 and col2 contains long raw equivalent of this is line two
col1 = 3 and col2 contains long raw equivalent of this is line three
PL/SQL procedure successfully completed.
SQL> Note : In order to load some test data and prove the method works I made use of a package called "testrawio" located at http://www.classicity.com/oracle/htdocs/forums/ClsyForumID125/7.html
AMM -
How to compare 2 columns with data like...
Hi,
I have to compare 2 columns from 2 different tables the columns contain data like
SELECT CIRCLE FROM RATE_PLAN
OUTPUT
(AP,NAT)
(AS,NAT)
(BH,NAT).
SELECT CIRCLE FROM subscriber_info
(AP,NAT)
(AS,NAT)
(BH,NAT)
but when i put a join on the tables on this column i get the ouput as -0 rows returned
select col1,col2 from rate_plan,subscriber_info
where
rate_plan.CIRCLE=subscriber_info.CIRCLE
HOW DO I COMPARE THE 2 COLUMNS SO THAT I GET MATCHING RECORDS??
NOTE:-DATATYPE OF BOTH THE COLUMNS IS SAME.Hi,
using SQL*Plus can you cut and paste the result of following commands :set tab off
set trimout on
set trimspool on
desc rate_plan;
SELECT '-'||CIRCLE||'-' c FROM RATE_PLAN ;
desc subscriber_info;
SELECT '-'||CIRCLE||'-' c FROM subscriber_info ;And be sure to use the tags {noformat}{noformat} before and after the pasted output. -
Inserting one table records to the another table
Hi There
Though i don't close the Result set , My program throws the following Exception
java.sql.SQLException: ResultSet is ClosedBecause of this my program Inserts only one record in the another table
My code is this
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.DefaultComboBoxModel.*;
import javax.swing.table.*;
import java.sql.*;
import java.util.*;
public class SearchBook extends JDialog implements ActionListener
private JComboBox comboCategory,comboAuthor;
private JSplitPane splitpane;
private JTable table;
private JToolBar toolBar;
private JButton btnclose, btncancel;
private JPanel panel1,panel2,panel3,panel4;
private JLabel lblCategory,lblAuthor;
private Container c;
//DefaultTableModel model;
Statement st;
ResultSet rs;
Vector v = new Vector();
public SearchBook (Connection con)
// Property for JDialog
setTitle("Search Books");
setLocation(40,110);
setModal(true);
setSize(750,450);
// Creating ToolBar Button
btnclose = new JButton(new ImageIcon("Images/export.gif"));
btnclose.addActionListener(this);
// Creating Tool Bar
toolBar = new JToolBar();
toolBar.add(btnclose);
try
st=con.createStatement();
rs =st.executeQuery("SELECT BCat from Books Group By Books.BCat");
while(rs.next())
v.add(rs.getString(1));
catch(SQLException ex)
System.out.println("Error");
panel1= new JPanel();
panel1.setLayout(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
c.fill = GridBagConstraints.HORIZONTAL;
lblCategory = new JLabel("Category:");
lblCategory.setHorizontalAlignment (JTextField.CENTER);
c.gridx=2;
c.gridy=2;
panel1.add(lblCategory,c);
comboCategory = new JComboBox(v);
comboCategory.addActionListener(this);
c.ipadx=20;
c.gridx=3;
c.gridwidth=1;
c.gridy=2;
panel1.add(comboCategory,c);
lblAuthor = new JLabel("Author/Publisher:");
c.gridwidth=2;
c.gridx=1;
c.gridy=4;
panel1.add(lblAuthor,c);
lblAuthor.setHorizontalAlignment (JTextField.LEFT);
comboAuthor = new JComboBox();
comboAuthor.addActionListener(this);
c.insets= new Insets(20,0,0,0);
c.ipadx=20;
c.gridx=3;
c.gridy=4;
panel1.add(comboAuthor,c);
comboAuthor.setBounds (125, 165, 175, 25);
table = new JTable();
JScrollPane scrollpane = new JScrollPane(table);
//panel2 = new JPanel();
//panel2.add(scrollpane);
splitpane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,panel1,scrollpane);
splitpane.setDividerSize(15);
splitpane.setDividerLocation(190);
getContentPane().add(toolBar,BorderLayout.NORTH);
getContentPane().add(splitpane);
public void actionPerformed(ActionEvent ae)
Object obj= ae.getSource();
if(obj==comboCategory)
String selecteditem = (String)comboCategory.getSelectedItem();
displayAuthor(selecteditem);
System.out.println("Selected Item"+selecteditem);
else if(obj==btnclose)
dispose();
else if(obj==comboAuthor)
String selecteditem1 = (String)comboAuthor.getSelectedItem();
displayavailablity(selecteditem1);
//System.out.println("Selected Item"+selecteditem1);
System.out.println("Selected Author"+selecteditem1);
private void displayAuthor(String selecteditem)
try
{ Vector data = new Vector();
rs= st.executeQuery("SELECT BAuthorandPublisher FROM Books where BCat='" + selecteditem + "' Group By Books.BAuthorandPublisher");
System.out.println("Executing");
while(rs.next())
data.add(rs.getString(1));
//((DefaultComboBoxModel)comboAuthor.getModel()).setVectorData(data);
comboAuthor.setModel(new DefaultComboBoxModel(data));
//rs.close();
catch(SQLException ex)
System.out.println("ERROR");
private void displayavailablity(String selecteditem1)
try
Vector columnNames = new Vector();
Vector data1 = new Vector();
String bname,bauthor,bcategory,bref1,bavail,bid;
int bref,mid,num;
rs = st.executeQuery("SELECT * FROM Books where BAuthorandPublisher='" + selecteditem1 +"'");
while(rs.next())
bname = rs.getString("BName");
bauthor = rs.getString("BAuthorandPublisher");
bcategory = rs.getString("BCat");
bref = rs.getInt("BRef");
if(bref==1)bref1="Yes";
else bref1 = "No";
mid = rs.getInt("Mid");
if(mid==0)bavail="Available";
else bavail="Issued To:"+mid;
bid = rs.getString("BId");
System.out.println("Book Name is::"+bname);
System.out.println("Book Availabilty::"+bavail);
num = st.executeUpdate("insert into BSearch Values('"+bid+"','"+bname+"','"+bcategory+"','"+bauthor+"','"+bavail+"','"+bref1+",')");
System.out.println("Inseted in the table");
/**ResultSetMetaData md= rs.getMetaData();
int columns =md.getColumnCount();
String booktblheading[]={"Book ID","Book NAME","BOOK AUTHOR/PUBLISHER","REFRENCE","CATEGORY"};
for(int i=1; i<= booktblheading.length;i++)
columnNames.addElement(booktblheading[i-1]);
while(rs.next())
Vector row = new Vector(columns);
for(int i=1;i<=columns;i++)
row.addElement(rs.getObject(i));
data1.addElement(row);
//System.out.println("data is:"+data);
((DefaultTableModel)table.getModel()).setDataVector(data1,columnNames);
//DefaultTableModel model = new DefaultTableModel(data1,columnNames);
//table.setModel(model);
//rs.close();
//st.close(); */
catch(SQLException ex)
ex.printStackTrace();
}Please help me Friends. I am very new to java. otherwise give me some suggestion to implement this idea in effective manner.
Thank you for your service
CheersHi
Here i am Posting My programs code
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.DefaultComboBoxModel.*;
import javax.swing.table.*;
import java.sql.*;
import java.util.*;
public class SearchBook extends JDialog implements ActionListener
private JComboBox comboCategory,comboAuthor;
private JSplitPane splitpane;
private JTable table;
private JToolBar toolBar;
private JButton btnclose, btncancel;
private JPanel panel1,panel2,panel3,panel4;
private JLabel lblCategory,lblAuthor;
private Container c;
//DefaultTableModel model;
Statement st,st1;
ResultSet rs,rs1,rs2;
Vector v = new Vector();
public SearchBook (Connection con)
// Property for JDialog
setTitle("Search Books");
setLocation(40,110);
setModal(true);
setSize(750,450);
// Creating ToolBar Button
btnclose = new JButton(new ImageIcon("Images/export.gif"));
btnclose.addActionListener(this);
// Creating Tool Bar
toolBar = new JToolBar();
toolBar.add(btnclose);
try
st=con.createStatement();
rs =st.executeQuery("SELECT BCat from Books Group By Books.BCat");
while(rs.next())
v.add(rs.getString(1));
catch(SQLException ex)
System.out.println("Error");
panel1= new JPanel();
panel1.setLayout(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
c.fill = GridBagConstraints.HORIZONTAL;
lblCategory = new JLabel("Category:");
lblCategory.setHorizontalAlignment (JTextField.CENTER);
c.gridx=2;
c.gridy=2;
panel1.add(lblCategory,c);
comboCategory = new JComboBox(v);
comboCategory.addActionListener(this);
c.ipadx=20;
c.gridx=3;
c.gridwidth=1;
c.gridy=2;
panel1.add(comboCategory,c);
lblAuthor = new JLabel("Author/Publisher:");
c.gridwidth=2;
c.gridx=1;
c.gridy=4;
panel1.add(lblAuthor,c);
lblAuthor.setHorizontalAlignment (JTextField.LEFT);
comboAuthor = new JComboBox();
comboAuthor.addActionListener(this);
c.insets= new Insets(20,0,0,0);
c.ipadx=20;
c.gridx=3;
c.gridy=4;
panel1.add(comboAuthor,c);
comboAuthor.setBounds (125, 165, 175, 25);
table = new JTable();
JScrollPane scrollpane = new JScrollPane(table);
//panel2 = new JPanel();
//panel2.add(scrollpane);
splitpane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,panel1,scrollpane);
splitpane.setDividerSize(15);
splitpane.setDividerLocation(190);
getContentPane().add(toolBar,BorderLayout.NORTH);
getContentPane().add(splitpane);
public void actionPerformed(ActionEvent ae)
Object obj= ae.getSource();
if(obj==comboCategory)
String selecteditem = (String)comboCategory.getSelectedItem();
displayAuthor(selecteditem);
System.out.println("Selected Item"+selecteditem);
else if(obj==btnclose)
dispose();
else if(obj==comboAuthor)
String selecteditem1 = (String)comboAuthor.getSelectedItem();
displayavailablity(selecteditem1);
//System.out.println("Selected Item"+selecteditem1);
System.out.println("Selected Author"+selecteditem1);
private void displayAuthor(String selecteditem)
try
{ Vector data = new Vector();
rs1= st.executeQuery("SELECT BAuthorandPublisher FROM Books where BCat='" + selecteditem + "' Group By Books.BAuthorandPublisher");
System.out.println("Executing");
while(rs1.next())
data.add(rs1.getString(1));
//((DefaultComboBoxModel)comboAuthor.getModel()).setVectorData(data);
comboAuthor.setModel(new DefaultComboBoxModel(data));
catch(SQLException ex)
System.out.println("ERROR");
private void displayavailablity(String selecteditem1)
try
Vector columnNames = new Vector();
Vector data1 = new Vector();
String bname,bauthor,bcategory,bref1,bavail,bid;
int bref,mid,num;
//rs2.Open();
rs = st.executeQuery("SELECT * FROM Books where BAuthorandPublisher='" + selecteditem1 +"'");
boolean tr=true;
while(rs.next())
if(true)
bname = rs.getString("BName");
bauthor = rs.getString("BAuthorandPublisher");
bcategory = rs.getString("BCat");
bref = rs.getInt("BRef");
if(bref==1)bref1="Yes";
else bref1 = "No";
mid = rs.getInt("Mid");
if(mid==0)bavail="Available";
else bavail="Issued To:"+mid;
bid = rs.getString("BId");
System.out.println("Book Name is::"+bname);
System.out.println("Book Availabilty::"+bavail);
num = st1.executeUpdate("insert into BSearch Values('"+bid+"','"+bname+"','"+bcategory+"','"+bauthor+"','"+bavail+"','"+bref1+",')");
System.out.println("Inseted in the table");
catch(SQLException ex)
ex.printStackTrace();
}Thank you for your service -
Date fields and compare and get the later date of the fields
I am trying to compare these date fields and compare and get the later date of the fields
Tables are
TABCASER
TABCASER1
EVCASERS
Field
Are
TABCASER1.CASER_no
The dates are to be compared and then get the records with the highest or latest date value.
TABCASER1.CASERRECIEVEDDATE
EVCASERS.FINALEVDATES
EVCASERS.PUBLICATIONDATE
EVCASERS.PUBLICATIONDATE
TABCASER.COMPAREACCEPDATE
I have this code but I am trying to figure out what it all means.
I have several questions.
1.
1. greatest it is used here to compare right? How do I then output this ? do I store it to a var (coldfusion) ultimately , I wish to send it to a page of records
2. is it necessary to use todate? And to_date? What does this do?
3. decode, is this necessary too. What does this do? NULL?
4.
5.
6. when I do get the query results how do I send it to coldsuion and out put to a display.
Someone sent me this code.
is there abetter way of doing this? To compare the dates and store in a var to display. thanks
Here is my code below:
Greatest(
CASE
WHEN INSTR(TABCASER1.CASER_no,'-CE') > 0 THEN
decode(TABCASER1.CASERRECIEVEDDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER1.CASERRECIEVEDDATE)
WHEN INSTR(TABCASER1.CASER_no,'-ERNIE') > 0 THEN
decode(EVCASERS.FINALEVDATES,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.FINALEVDATES)
WHEN INSTR(TABCASER1.CASER_no,'-MONIE') > 0 THEN
decode(EVCASERS.PUBLICATIONDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.PUBLICATIONDATE)
WHEN INSTR(TABCASER1.CASER_no,'-NADINE') > 0 THEN
decode(EVCASERS.PUBLICATIONDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),EVCASERS.PUBLICATIONDATE)
ELSE
decode(TABCASER.COMPAREACCEPDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER.COMPAREACCEPDATE)
END
,decode(TABCASER.COMPAREACCEPDATE,NULL,TO_DATE('01/01/1900','mm/dd/yyyy'),TABCASER.COMPAREACCEPDATE))
between TO_DATE('#dateformat(form.startDate,"mm/dd/yyyy")#','MM/DD/YYYY') and TO_DATE('#dateformat(form.endDate,"mm/dd/yyyy")#','MM/DD/YYYY')
is there abetter way of doing this? To compare the dates and store in a var to display. thanksHi
If you have date datatypes than:
select
greatest(TABCASER1.CASERRECIEVEDDATE, EVCASERS.FINALEVDATES, EVCASERS.PUBLICATIONDATE, EVCASERS.PUBLICATIONDATE, TABCASER.COMPAREACCEPDATE)
from TABCASER, TABCASER1, EVCASERS
where ...-- join and other conditions
1. greatest is good enough
2. to_date creates date dataype from string with the format of format string ('mm/dd/yyyy')
3. decode(a, b, c, d) is a function: if a = b than return c else d. NULL means that there is no data in the cell of the table.
6. to format the date for display use to_char function with format modell as in the to_date function.
Ott Karesz
http://www.trendo-kft.hu -
I'm trying to download the latest version of iTunes and get the message "There is a problem with this Windows Installer package. A program required for this install to complete could not be run." I have no clue what to do with this to resolve the issue. Thanks for any help!
Repair your Apple software update.
Go to START > ALL PROGRAMS > Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install
If you don't find ASU, go to Control Panel:
START > CONTROL PANEL/ > Add n Remove Programs, highlight ASU and click CHANGE then REPAIR -
If you need further information, feel free to contact me.
Hi Andy,
I'm using Mac OSX 10.7.5
No the one with the caps seems to be working normally.This project with the caps now has four files. Originally I created it with about fifteen. I deleted eleven of them and edited the remaining four. The four files each have one version and its original. It wasn't until after I completed this work that I noticed the privious project when opened and scrolled had the entire library in it.
The test I did went like this. With the problem opened I deleted one file that I new existed prior to this problem. I than opened that project that I new it was from to see if it got deleted and found it gone and moved to trash. I think that tells me that if I delete all the files in the problem project I'll be in trouble. I also have inported to projects each with one file that I edited. They are working fine. I took a look in the problem project and this last
two imports show the thumdnails in it.
Currently on my Hard Drive I have 275 GB free space. My photo's take up 138 GB. As I said on Dec. 1st I backed up the system using time machine. So all of Dec. and part of Jan. inports won't be on it. I could work around the problem project and move those file to a safe place. I think it best not to back up the system with Time Machine until I'm confident the Aperture is runing properly. I'm happy that I control these system backups manually.
I'll need to find out how to copy the Aperture library to another place. I'm sure I can poke around and fined out the process.
Thanks Andy for the come back! -
Running report and get the report result with coding
Hi all,
In our R/3 system, there is a custom sales report.
My question is: is there possibility to get data by running this report and grab it the result with code and store it in internal table?
Sorry if my question too basic because I am not abaper
I am just wondering to find new solution for my project.
Regards,
StephMy requirement is: I want to get the result from this report
(rather than try to get the data from SAP original table, because this report is very complicated with a lot of selection data) and use it this result into my new program.
The mechanism that I want is pull the result from the current report, not to add some code in current report to push into new program, to avoid changed the report.
Btw, the output of this report not only the excel file, we can also run this report on foreground mode and see the result.
The report is not ALV report.
Regards,
Steph -
Hi,
WIFI stopped working after I woke the computer up, now says connected to the network but not the internet, all other coputers and devices connected still with no problems, have pinged IP address from router and got the message "4 packets sent none received"... Help
I have tried network diagnostics which doesnt help... The only other ting is, when I woke the computer up it said tat another device was using my IP... My wife had plugged her phone into the computer to charge etc but even when i turn wifi off on the phone there is no change... also in settings on the phone the IP address is different...The answer to your question is - neither!
Your PC should to configured to obtain an IP address automatically, and to obtain DNS server IP addresses automatically, from the Airport Express. This is the way Windows (and Macs for that matter) are configued by default, and that is the way most people have their computers set up. If you manually configured your PC's IP address to be the same as your wife's Mac, it certainly explains why your PC is not able to access the internet.
Maybe you are looking for
-
How to change the profile value in the pl/sql code without making change in the database
How to change the profile value in the pl/sql code without making change in the database.
-
No Images and Error 404 After Clean Install
Hello folks, I was in the hope you could help me with a brand new and clean install of APEX on WebLogic, so here is the basics: WebLogic 10.3.6 Jrockit 28.2.7 Apex Listener:2.0.3.221.10.13. Apex 4.1.0.00.32 DB Enterprise 11.2.0.3 I just finished depl
-
I cant print. My computer tells me I am not connected. I was able to take a test.Myprinter just repaired. and I installed the printr disc again . Any suggestios?
-
Where is the sql in a custom folder stored in the db tables?
Hi Does anyone know the name of the table & column that holds the sql that you write in a custom folder. I thought it might be EUL_OBJS as there are 4 columns called obj_object_sql1-4 but for a recently created custom folder these columns are blank.
-
Why isn't Apple acknowledging HUGE delays downloading iTunes Plus tracks?
After dozens of posts regarding these problems, still not a word from Apple, here on on the iTunes site. And of course no fix yet.