Importing data into tables with grant access (sql developer 3.2)
Hello,
I want to import data into a table PAY_BALANCE_BATCH_LINES which is an interface table. I'm logged in to a schema (APPS) and this table belongs to the HR schema. However, if you look at the grants, the APPS schema has all access to this particular table. In TOAD, this used to work great.
But in sqldeveloper, when I filter the tables dropdown, I am not able to find this table. Since this is my primary way of uploading data I'm not sure how else I can get access to upload data into this table. I don't know the password for the HR schema by the way.
Is there a way out?
Many Thanks
Scroll down the tree to the 'Other Users' node, expand it, and then drill down into HR > Tables. Then do your import.
For an alternative browser, right-click on your connection in the tree and open a Schema Browser.
Similar Messages
-
How can I load data into table with SQL*LOADER
how can I load data into table with SQL*LOADER
when column data length more than 255 bytes?
when column exceed 255 ,data can not be insert into table by SQL*LOADER
CREATE TABLE A (
A VARCHAR2 ( 10 ) ,
B VARCHAR2 ( 10 ) ,
C VARCHAR2 ( 10 ) ,
E VARCHAR2 ( 2000 ) );
control file:
load data
append into table A
fields terminated by X'09'
(A , B , C , E )
SQL*LOADER command:
sqlldr test/test control=A_ctl.txt data=A.xls log=b.log
datafile:
column E is more than 255bytes
1 1 1 1234567------(more than 255bytes)
1 1 1 1234567------(more than 255bytes)
1 1 1 1234567------(more than 255bytes)
1 1 1 1234567------(more than 255bytes)
1 1 1 1234567------(more than 255bytes)
1 1 1 1234567------(more than 255bytes)
1 1 1 1234567------(more than 255bytes)
1 1 1 1234567------(more than 255bytes)Check this out.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch06.htm#1006961 -
Cannot enter data into table with column named DATE
I have a table as follows:
CREATE TABLE PACKINGLINE (
SNO VARCHAR2(13),
"DATE" DATE DEFAULT SYSDATE,
PRDORDNO VARCHAR2(12),
NOW DATE DEFAULT SYSDATE,
CONSTRAINT PACKINGLINE_PK PRIMARY KEY ("SNO", "DATE"));
Note the "cleaverly" named DATE and NOW columns (yes, that is the name of the column... our company was bessed with a very clear SQL server DBA in the past)
This SQL statement works:
INSERT INTO PACKINGLINE (SNO, PRDORDNO) VALUES ('1000808972', '100080897');
However when I try use SQL Developer as follows I cannot enter data:
1. Open SQL Developer
2. Click on "Tables" then on my table named PACKINGLINE
3. Click the "Data" tab
4. Click the [+] "Insert Row" Icon
5. Enter the same data as above
6. Click Commit
7. The following error is shown in the log window and I cannot commit the data change.
Error message
==================
INSERT INTO "DBO"."PACKINGLINE" (SNO, PRDORDNO) VALUES ('1000808971', '100080897')
One error saving changes to table "DBO"."PACKINGLINE":
Row 5: ORA-06550: Row 1、Column 25:
PL/SQL: ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: Row 1、Column 7:
PL/SQL: SQL Statement ignored
==================
I can copy and paste the above query into a normal SQL statement window and the data commits fine.Its so flaky there really must be something wrong Mr Adobe support person....
If I load a PDF, do nothing, gently save it, reopen and then waiting for my trial dialogue to wake up so that I can click on continue trial... then save as extended reader blah.... then close. I have finally saved one that works!!!! but how difficult is that????
WHAT IS WRONG ADOBE?? -
Reading file from ftp server and importing data into table
Hi experts,
Well basically i have text files with different layout that have been uploaded on an ftp server. Now i have to write a procedure to fetch those files, read them and insert data in a table... can that be done?
your precious help would be greatly helpful.
Thanksdeclare
file1 UTL_FILE.FILE_TYPE;
filename varchar2(1000) := 'GTECHFILES';
str long;
begin
file1 := UTL_FILE.FOPEN (filename,'agent_dump_csv.rep','r',32767);
loop
UTL_FILE.GET_LINE ( file1, str );
--dbms_output.put_line('Value is :'||to_char(str));
end loop;
UTL_FILE.FCLOSE( file1 );
exception
when no_data_found then
dbms_output.put_line('END OF FILE');
UTL_FILE.FCLOSE( file1 ) ;
when others then
UTL_FILE.FCLOSE( file1 ) ;
dbms_output.put_line('ERROR: '||sqlcode||':'||sqlerrm) ;
end;
i have managed to write this piece of code and all lines are being read and now i need to insert data into my table and the fields are seperated by a `|` i am strill trying to figure how to do that now. help ...
Edited by: Kevin CK on 17-Jan-2010 22:40 -
To get the table data into a file in pl/sql developer
Hi
i have table with 90k rows, i want to get the table data into a file like excel....
i executed the select statement it shows only 5k rows because of buffer problem.
can u please help me any alternative way to get the table data into a file.
using cursors like thatReally? excel for 90K rows :)
face/desk/floor/"Hi and sorry neighbours below, it's me again"
Err, I see you point, thanks Dang, I completely missed the 90k recs part, I must be getting old or modern ;)
@Ramanjaneyulu,
can u please help me any alternative way to get the table data into a file.You can always dump a query to a file, check these:
http://tkyte.blogspot.com/2009/10/httpasktomoraclecomtkyteflat.html
How to create Excel file (scroll down when necessary)
http://forums.oracle.com/forums/search.jspa?threadID=&q=export+to+excel&objID=f137&dateRange=all&userID=&numResults=15&rankBy=10001
Depending on your database version ( the result of: select * from v$version; ) you might have some other options. -
Loading Data into Table with Complex Transformations
Hello Guys
I am trying to load data into one of the Dimension table and it has quite a few Transformations and i created 6 temp tables
1. It has 7 Columns , Gets 935 rows based on where condition
2. It has 10 Columns , Gets 935 rows with but it has nulls in it i.e for column 1 there are 500 fields and columns 2 there are 300 etc ...
3 , 4 , 5 , 6 all the same as the 2 table
and at the end when i am trying to join all the temp tables with the Product_id into the target , which is in each temp table ...
I am Getting Error Saying Not Obeying Primary key Constraints i.e unique values are not been inserting into the Product_id Column of Target Table and the Job is running for Hours
and the main Problem comes at , some of the Columns have the same Product_id
Please help me
I have been Trying for 1 week and i am in Full pressure
Thanks
Sriks
Edited by: Sriks on Oct 16, 2008 6:43 PMHi,
If you are creating a warehouse and product_key is ur PK then it should come only once and so u might have to think ur logic in getting the data. To get over the isue u can disable the constraint and load with out the cosntraint, but i would have u look at the logic and make sure u have only 1 product_key in the table.
Regards
Bharath -
Loading data into table with filename
Hi All,
I am new to ODI. I have a requirement to load of a flat file into oracle, along with the name of file in one column of the table. That means, if there are 10 rows of data from that file then the additional column 'FileName" of the table will have current file name written 10 times. Please suggest how this can be achieved. I am able to do half of it but file name is not populated.
Thanks.Hi ,
Probably what you can do is
1. create a variable to read the file name . Refer http://odiexperts.com/?tag=file-variable-odi for creating such a variable.
2. Now in your interface , target table column which holds the filename , use '#<variable created in step 1>'
and specify it to be executed on target .
It should do the trick .
Thanks,
Sutirtha -
Is it possible to import data into an existing table?
Hi.. everyone.
Is it possible to import data into an existing table
by using import utility?
The exported table and the existing table have the same name
and table schema.
I want to append "new data(exported from oracle8.0.5)" to
"an existing partitioned-table" by using "oracle 9i import utility".
Thanks in advance.
Have a nice day.
Ho.SQL> select index_name
2 from user_indexes
3 where table_name = 'IMPORTPK';
INDEX_NAME
SYS_C007610
SQL> create view importpk_view as select * from importpk;
View created.
SQL> disconn
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
SQL> exit
C:\>exp userid=oracle/oracle tables=importpk
Export: Release 10.1.0.2.0 - Production on Tue Sep 5 08:30:50 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table IMPORTPK 10 rows exported
Export terminated successfully without warnings.
C:\>imp userid=oracle/oracle tables=importpk ignore=y
Import: Release 10.1.0.2.0 - Production on Tue Sep 5 08:31:12 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.01.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing ORACLE's objects into ORACLE
. . importing table "IMPORTPK"
IMP-00019: row rejected due to ORACLE error 1
IMP-00003: ORACLE error 1 encountered
ORA-00001: unique constraint (ORACLE.SYS_C007610) violated
Column 1 1
Import terminated successfully with warnings.
C:\>sqlplus/nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Tue Sep 5 08:33:20 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
1.No
Note : if table content primary key and index.
SQL> conn oracle/oracle
Connected.
SQL> create table withoutcons ( no number);
Table created.
SQL> insert into withoutcons select * from importpk;
10 rows created.
SQL> create view withoutcons_view as select * from withoutcons;
View created.
SQL> disconn
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
SQL> exit
C:\>exp userid=oracle/oracle tables=withoutcons
Export: Release 10.1.0.2.0 - Production on Tue Sep 5 08:36:05 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table WITHOUTCONS 10 rows exported
Export terminated successfully without warnings.
C:\>imp userid=oracle/oracle tables=withoutcons ignore=y
Import: Release 10.1.0.2.0 - Production on Tue Sep 5 08:37:17 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.01.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing ORACLE's objects into ORACLE
. . importing table "WITHOUTCONS" 10 rows imported
Import terminated successfully without warnings.
2. Yes
If table content no unique constraints
Message was edited by:
user526020 -
Importing Data into Sql Server 2012 from Excel Data
Hi,
I got errors like this when i am doing import data into sql server from excel Data. Can you please help us?
- Executing (Error)
Messages
Error 0xc020901c: Data Flow Task 1: There was an error with Source - demotable$.Outputs[Excel Source Output].Columns[Comment] on Source - demotable$.Outputs[Excel Source Output]. The column status returned was: "Text was truncated or one
or more characters had no match in the target code page.".
(SQL Server Import and Export Wizard)
Error 0xc020902a: Data Flow Task 1: The "Source - demotable$.Outputs[Excel Source Output].Columns[Comment]" failed because truncation occurred, and the truncation row disposition on "Source - demotable$.Outputs[Excel Source Output].Columns[Comment]"
specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
(SQL Server Import and Export Wizard)
Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Source - demotable$ returned error code 0xC020902A. The component returned a failure code when the pipeline engine called PrimeOutput().
The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)Are you attempting to import into a newly made table or into an existing table? It looks like it's trying to insert data where it cannot be inserted (invalid column or lack of data size in your column).
Try the following:
1). In your excel sheet, highlight the whole sheet and make sure the cells are in 'text' form and try re-importing
2). save the document as ms dos TEXT and import as a text document.
3). double check your columns are correct for the data, for example if you have a column that has a string of 100 characters and your column is 'NvarChar(90)' - that might cause the error? Or just correct data type in your column
3). If that doesn't work and you're inserting into a new table, try importing it as string first and writing a query to insert columns that should be float/integer or whatever. You may want to convert float texts to a 'bigint' first rather than string
> float as that can cause problems if I remember correctly. -
Copy access data into oracle with form builder 9i
hello
i need to copy/import data and tables from an MS access database into oracle 9i database. the situation is each time i login to my forms applicatin i will need to do that. any idea pls...
the access db is frequently updated. so when i login into my forms application it needs to be reimport the data from access db. can any1 pls help me?To my opinion, there are 3 potential approaches :
1. rewrite the application, that data are stored directly in the oracle database
or the program writes flat files somewhere to the file system which are able getting
imported from the target instance on daily basis or job driven;
2. The "Access-driven approach" : link oracle tables into the MS-Access application
using an ODBC-connection and build a macro in Access which is exporting the stuff to
the target instance; in order to do so, the Oracle Client and ODBC-Drivers needs to
get installed on the PC where MS-Access is started to start the exportation process
(which is probably yours).
You may then create tables in the target instance and link them from within Access
using ODBC as the datasource
3. The "Oracle driven approach". explained in detail here, never tried it, but maybe
worth a look
http://www.orafaq.com/node/60
Basically, install the Oracle Software on a PC, configure an ODBC-Connection and start a
Listener there;
The target instance (which may no run on a UNIX system) is now able to commuincate
with the local running listener on your PC which itself is instantiating a connection to
the Access "Database" using the ODBC-Connection.
In this way, your PC acts as a database server from the Oracle Net point of view.
In theory, this could even work, depending on the ability to connect from the
instance server directly to the given IP of your PC (Security ?? Hmmmz) -
Ability to Import Spreadsheet Data into Table in Apps added Anytime Soon??
I love HTMLDB so much, and I thought I would never find anything it couldn't do, but I have run headlong into a problem that I've discovered many users have.
The Import Spreadsheet Data into Table functionality available in Data Workshop is such a treasure, and I was hoping with all of my heart that such functionality would be available for use inside the User Applications in HTMLDB 2.0. Alas, it is not so.
I know some brave folks have come up with work-arounds for this lack, and I applaud them. However, none of those will work for the situation I am faced with. I am about to strike out into the no-man's-land of trying to create my own PL/SQL csv file parsing function. Please wish me luck. Also, could you please tell me if this functionality is going to be included anytime soon?Well I looked at the FLOWS_020000.WWV_FLOW_LOAD_DATA.LOAD_CSV_DATA procedure
From what I can gather(considering nobody cant look at the actual procedural code):
P_FILE_ID seems to be file id you find in FLOWS_FILES.WWV_FLOW_FILE_OBJECTS$
P_CNAMES seems to be the column names of table you are loading into
P_UPLOAD seems to be the names of field from file you are loading
P_SCHEMA seems to be the schema that contains table where data will be loaded
P_TABLE seems to be table that you load data into
P_DATA_TYPE seems to be the datatypes from file to be loaded
P_DATA_FORMAT not sure
P_PARSED_DATA_FORMAT not sure
P_SEPARATOR seems to be the field seperator from file
P_ENCLOSED_BY seems to be what fields will be enclosed with
P_FIRST_ROW_IS_COL_NAME seems to be to tell whether or not first row contains column headings
P_LOAD_TO not sure
P_CURRENCY seems to be the currency symbol that comes from file
P_NUMERIC_CHARS not sure
P_CHARSET not sure
P_LOAD_ID not sure
Essentially you could run this process provided you get all the kinks worked out(that is what all the parameters mean/are expected)...
...or..
you write your own process:
- that reads the blob/clob content line by line
declare
n number;
buffer varchar2(4000);
begin
(do some sort of loop until end of length of lob)
n := dbms_lob.instr( "your lob", ',',"next comma position" );
if ( nvl(n,0) > 0 )
then
buffer := dbms_lob.read( p_lob, "amount of lob length to read", n);
end if;
end;
The above code with some tweaking will read the lob. However you still will have to add a piece that creates sql insert statement. One of the pitfalls I see with custom code is the fact that if you end up with huge lob string you will run into problem of creating sql insert statement. Not the actual statement but assigning the statement to a variable due to datatype lengths.
Hopefully this will help you more in the right direction! -
Import data into an MS Access database
How I can import data into an MS Access database form a PDF form?
Any sample to get start I'll appreciate.
ThanksTo my opinion, there are 3 potential approaches :
1. rewrite the application, that data are stored directly in the oracle database
or the program writes flat files somewhere to the file system which are able getting
imported from the target instance on daily basis or job driven;
2. The "Access-driven approach" : link oracle tables into the MS-Access application
using an ODBC-connection and build a macro in Access which is exporting the stuff to
the target instance; in order to do so, the Oracle Client and ODBC-Drivers needs to
get installed on the PC where MS-Access is started to start the exportation process
(which is probably yours).
You may then create tables in the target instance and link them from within Access
using ODBC as the datasource
3. The "Oracle driven approach". explained in detail here, never tried it, but maybe
worth a look
http://www.orafaq.com/node/60
Basically, install the Oracle Software on a PC, configure an ODBC-Connection and start a
Listener there;
The target instance (which may no run on a UNIX system) is now able to commuincate
with the local running listener on your PC which itself is instantiating a connection to
the Access "Database" using the ODBC-Connection.
In this way, your PC acts as a database server from the Oracle Net point of view.
In theory, this could even work, depending on the ability to connect from the
instance server directly to the given IP of your PC (Security ?? Hmmmz) -
Create data base table with EXEC SQL
Hello,
I nead to create o data base table with EXEC SQL in an Abap program.
My code is :
TRY.
EXEC SQL.
CREATE table zt_hello ( mandt char(4) NOT NULL,
kunnr char(10) NOT NULL,
PRIMARY KEY (mandt, kunnr) )
ENDEXEC.
CATCH cx_sy_native_sql_error INTO exc_ref.
error_text = exc_ref->get_text( ).
ENDTRY.
IF sy-subrc = 0.
COMMIT WORK.
ENDIF.
But it still not working.
Can you help me please.
Thanks.
Edited by: widad soubhi on Jul 14, 2010 5:26 PMPlease refer this code
REPORT z_struct_create .
DATA: my_row(500) TYPE c,
my_file_1 LIKE my_row OCCURS 0 WITH HEADER LINE.
DATA: dd02v TYPE dd02v.
DATA: my_file_tab1 LIKE dd03p OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME TITLE text
NO INTERVALS.
PARAMETERS:
name TYPE ddobjname,
testo TYPE text40,
file_1 LIKE rlgrap-filename.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK blk.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file_1.
PERFORM file_selection USING file_1.
INITIALIZATION.
text = text-001.
START-OF-SELECTION.
IF file_1 IS INITIAL.
MESSAGE ID 'Z0017_BDI' TYPE 'I' NUMBER 001.
EXIT.
ENDIF.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = file_1
filetype = 'ASC'
TABLES
data_tab = my_file_1.
IF sy-subrc 0.
MESSAGE ID 'Z0017_BDI' TYPE 'I' NUMBER 002.
EXIT.
ENDIF.
LOOP AT my_file_1.
IF sy-tabix > 1.
CLEAR my_file_tab1.
SPLIT my_file_1 AT ';' INTO
my_file_tab1-fieldname
my_file_tab1-datatype
my_file_tab1-leng
my_file_tab1-decimals
my_file_tab1-ddtext
my_file_tab1-inttype = 'C'.
my_file_tab1-INTLEN = my_file_tab1-leng.
my_file_tab1-tabname = name.
my_file_tab1-position = sy-tabix - 1.
my_file_tab1-ddlanguage = sy-langu.
my_file_tab1-OUTPUTLEN = my_file_tab1-leng.
APPEND my_file_tab1.
ENDIF.
ENDLOOP.
dd02v-tabname = name.
dd02v-ddlanguage = sy-langu.
dd02v-tabclass = 'INTTAB'.
dd02v-DDTEXT = testo.
dd02v-MASTERLANG = sy-langu.
IF NOT my_file_tab1[] IS INITIAL.
CALL FUNCTION 'DDIF_TABL_PUT'
EXPORTING
name = name
dd02v_wa = dd02v
TABLES
dd03p_tab = my_file_tab1
EXCEPTIONS
tabl_not_found = 1
name_inconsistent = 2
tabl_inconsistent = 3
put_failure = 4
put_refused = 5
OTHERS = 6
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ELSE.
MESSAGE ID 'Z0017_BDI' TYPE 'I' NUMBER 003.
EXIT.
ENDIF.
*& Form file_selection
-->P_FILE_1 text
FORM file_selection USING p_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = ''
def_path = 'c:\'
mask = ',.,..'
mode = '0'
title = 'Selezione file'
IMPORTING
filename = p_file
RC = RCODE
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
ENDFORM. " file_selection
File Template:
Fieldname;Data Type;Lentgh;Dec.;Descr.
FIELD1;CHAR;000020;000000;my field 1
FIELD2;CHAR;000008;000000;my field 2
FIELD3;CHAR;000007;000000;my field 3
FIELD4;CHAR;000006;000000;my field 4 -
Importing data into an existing table from excel problem
Hopefully I am posting this in the right place..
I am having trouble importing data from Excel into an oracle table using the 'import data' wizard in SQL developer.
The problem is that the I want to import data into a table which all ready has data and I want the new data to be imported into the first row of the table not in a new row at the end of the table.
This is probably best shown by example:
create table todelete (
site_no varchar2(2),
data1 number,
qa number);
insert into todelete values ('w1',1,null);
insert into todelete values ('w1',2, null);
insert into todelete values ('w1',3,null);
Now I want to import the following data from excel into the QA column starting at w1:
SITE_NO
QA
w1
4
w2
4
w3
4
However, when I import the QA column it goes into a new row:
SITE_NO
DATA1
QA
w1
1
NULL
w2
2
NULL
w3
3
NULL
NULL
NULL
4
NULL
NULL
4
NULL
NULL
4The problem is that the I want to import data into a table which all ready has data and I want the new data to be imported into the first row of the table not in a new row at the end of the table.
No - the PROBLEM is that a table does NOT have a 'first' row or a 'row at the end of the table'.
Rows in a table are like balls in a basket; there is NO 'first' ball.
As already suggested please mark this thread ANSWERED and repost it in the sql developer forum where it belongs. -
How to import Filenames and File creation Date into Table..
Hi Folks,
I am importing Differennt Excels Files into table. my require ment is after importing completed I need to insert all these Filenames ,File creation date into table. (for Auditing).
Can you please give me any ideas or reference link. Thanks In Advance.Hi Folks,
I am importing Differennt Excels Files into table. my require ment is after importing completed I need to insert all these Filenames ,File creation date into table. (for Auditing).
Can you please give me any ideas or reference link. Thanks In Advance.
You can also prepare dir command and then exeucte it by using XP_CMDSHELL. This gives you file name, modified date, creation date information.
Please refer:
https://sqljourney.wordpress.com/2010/06/08/get-list-of-files-from-a-windows-directory-to-sql-server/
https://hernandezpaul.wordpress.com/2013/02/15/store-file-names-and-modified-dates-in-a-table-without-a-foreach-loop-task-sql-server-ssis/
Cheers,
Vaibhav Chaudhari
[MCP],
[MCTS], [MCSA-SQL2012]
Maybe you are looking for
-
The only thing displayed in the panel is "siteNameTooltip(x)" I have also reinstalled dreamweaver, since I was previously getting javascript errors on load. I was able to clear the error by adding a missing reference to bc_main.js in BCModulePanel.ht
-
Looking for competent docking station for iPhone 3GS
I'm having a terrible time finding a good docking station for my new iPhone 3GS. Before I bought it I used a 5th generation iPod 60GB. I have a belkin usb hub/dock for it that works great. When my computer is off it charges the iPod, and it's a power
-
I get an 'untitled' box come up at the top, and says it is playing 'untitled'? It looks like it would if it were playing a song from an album but has an icon that has a music note in it. I can play YouTube to the apple TV but it wont let me mirror t
-
[JS][CS3] Modifying a template (ait) instance
Hi, With document.height and .width being read-only properties, are we able to create a doc instance from a template and then alter its dimensions? The reason I want to alter dimensions is that there are bunch of ad dimensions that a user has to adhe
-
====================================================== Can i install 10.2.0.4 patch set 14 on my client when SERVER is at 10.2.0.4 patchset 5? ====================================================== We have a customer with DB on windows-2003 64 bit wi