Symbol Insertion from Library file
I can insert Symbols from the current document via script. Is there a way to insert a symbol from a symbol library?
Thank you Carlos, I hadn't thought of just opening the file and extracting the information.
It's amazing at how focused we get.
I appreciate your help.
Similar Messages
-
How to get current month from filename and bulk insert from text file into table?
I set up some dynamic SQL to help my bulk copy data from a text file to a table. This works fine for files that come in every day; I get the previous day’s data, based on the file name that’s placed
in the folder. That’s why I’m using the ‘-1’. The dates will look like this: '20140131', so I'm using type 112.
declare @fullpath1 varchar(1000)
select @fullpath1 = '''\\system.local\ms\london\FTP\' + convert(varchar, getdate()-1, 112) + '_INDEXPRICES_EOM.SPC'''
declare @cmd1 nvarchar(1000)
print (@cmd1)
select @cmd1 = 'bulk insert [dbo].[SB_Monthly] from ' + @fullpath1 + ' with (FIELDTERMINATOR = ''\t'', FIRSTROW = 5, LASTROW = 675, ROWTERMINATOR=''0x0a'')'
print(@cmd1)
exec (@cmd1)
I think the syntax will be somewhat similar to this:
YEAR(date_column)=YEAR(getdate()) AND MONTH(date_column)=MONTH(getdate())
I’m not totally sure how to incorporate that into my current syntax.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.I tried a couple versions of this.
Declare @StartDate Date, @EndDate Date
Select @StartDate = convert(varchar, getdate()-28, 112), @EndDate = convert(varchar, getdate()-1, 112)
BEGIN
declare @fullpath1 varchar(1000)
select @fullpath1 = '''\\ms\london\FTP\' + ''' between ''' + Convert(Varchar(10), @StartDate, 101) + ''' and ''' + Convert(Varchar(10), @EndDate, 101) + '''_SP.SPC'''
declare @cmd1 nvarchar(1000)
print (@cmd1)
select @cmd1 = 'bulk insert [dbo].[SPBMI_Monthly] from ' + @fullpath1 + ' with (FIELDTERMINATOR = ''\t'', FIRSTROW = 5, LASTROW = 675, ROWTERMINATOR=''0x0a'')'
print(@cmd1)
exec (@cmd1)
END
Here’s the string:
bulk insert [dbo].[SPBMI_Monthly] from '\\ms\london\FTP\' between '02/03/2014' and '03/02/2014'_SP.SPC' with (FIELDTERMINATOR = '\t', FIRSTROW = 5, LASTROW = 675, ROWTERMINATOR='0x0a')
The error message I keep getting is:
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'between'.
Msg 319, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
I feel like I’m already pushing this thing to the limit.
Maybe this last part isn’t possible.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
First Row Record is not inserted from CSV file while bulk insert in sql server
Hi Everyone,
I have a csv file that needs to be inserted in sql server. The csv file will be format will be like below.
1,Mr,"x,y",4
2,Mr,"a,b",5
3,Ms,"v,b",6
While Bulk insert it coniders the 2nd column as two values (comma separte) and makes two entries .So i used filelterminator.xml.
Now, the fields are entered into the column correctly. But now the problem is, the first row of the csv file is not reading in sql server. when i removed the terminator, i can get the all records. But i must use the above code terminator. If
am using means, am not getting the first row record.
Please suggests me some solution.
Thanks,
SelvamHi,
I have a csv file (comma(,) delimited) like this which is to be insert to sql server. The format of the file when open in notepad like below:
Id,FirstName,LastName,FullName,Gender
1,xx,yy,"xx,yy",M
2,zz,cc,"zz,cc",F
3,aa,vv,"aa,vv",F
The below is the bulk insert query which is used for insert above records,
EXEC(BULK INSERT EmployeeData FROM '''+@FilePath+'''WITH
(formatfile=''d:\FieldTerminator.xml'',
ROWTERMINATOR=''\n'',
FIRSTROW=2)'
Here, I have used format file for the "Fullname" which has comma(,) within the field. The format file is:
The problem is , it skip the first record (1,xx,yy,"xx,yy",M) when i use the format file. When i remove the format file from the query, it takes all the records but the "fullName" field makes the problem because of comma(,) within the
field. So i must use the format file to handle this. So please suggest me , why the first record skipped always when i use the above format file.
If i give the "FirstRow=1" in bulk insert, it shows the "String or binary data would be truncated.
The statement has been terminated." error. I have checked the datatype length.
Please update me the solution.
Regards,
Selvam. M -
Symbols/WinXP Common Library files in Fireworks CS3
I went into Common Library and into the WinXP to pick a few
symbols of a textfield and buttons, because I was going to layout a
design with form. But when I double click on it and edit the symbol
and make it change and click "done" it wont update the one on the
page. And besides I shouldnt have to edit the instance only a copy
of it. I'm sure symbols work like they do in Flash, so it wouldnt
be a good idea to edit the master anyway, even though its
associated with my PNG file. But even when I edit it, it wont show
the changes.Fr0ntier wrote:
> I went into Common Library and into the WinXP to pick a
few symbols of a
> textfield and buttons, because I was going to layout a
design with form. But
> when I double click on it and edit the symbol and make
it change and click
> "done" it wont update the one on the page. And besides I
shouldnt have to edit
> the instance only a copy of it. I'm sure symbols work
like they do in Flash, so
> it wouldnt be a good idea to edit the master anyway,
even though its associated
> with my PNG file. But even when I edit it, it wont show
the changes.
>
What are you trying to edit? Most of the editing is done via
the Symbol
Properties panel. If you are trying to scale it, you do not
need to
double click, just use the Transform tool.
Jim Babbage - .:Community MX:. & .:Adobe Community
Expert:.
http://www.communityMX.com/
CommunityMX - Free Resources:
http://www.communitymx.com/free.cfm
.:Adobe Community Expert for Fireworks:.
Adobe Community Expert
http://tinyurl.com/2a7dyp
See my work on Flickr
http://www.flickr.com/photos/jim_babbage/ -
How can I recover email from library file?
I tried to convert from incoming POP to IMAP (per instructions from Verizon). I then saw thousands of emails in my inbox disappear. They reside in my library folder with a different name: Library/mail/POP-(my email address/INBOX/messages/. I can't read the subject line since they are only identified as 21.emix, etc. I don't have Time Machine or a back up. I am running Snow Leopard (10.6) I am able to click on one lost email at a time and read it (guessing as to the subject line). I want to somehow transfer all of the old emails from that missing inbox (the ones with the .emix suffix) and put them back where I can read them in Mac Mail. How do I do that?
The following might work. Shut down Mail, then make a backup of the complete Mail folder in the library by dragging it to the Desktop, while holding down the Option key. You should see a little + inside a circle, which will indicate the contents are being copied. Drop it on the Desktop and let it finish.
Once you have a backup, go to the Mail folder again and drag the Envelope Index folder to the Desktop and drop it there. You will then get a message about reimporting or reindexing. Let it finish, start Mail up again and see if things are back to normal.
Not sure why this happens, but you may see some messages highlighted in brown. -
Inserting from .txt to table
Hi all,
I am trying to insert from text file into the table using the following pl/sql procedure
everything is working on fine but the table into which i want to insert is not reflecting...
SQL> create or replace procedure loademployee(
2 p_filedir in varchar2,
3 p_filename in varchar2) as
4 v_filehandle UTL_FILE.FILE_TYPE;
5 v_newline varchar2(500);
6 --Input line
7
8 v_First_name emp1.first_name%TYPE;
9 v_last_name emp1.last_name%TYPE;
10 begin
11 v_filehandle:=UTL_FILE.FOPEN(p_filedir,p_filename,'r');
12
13 insert into emp1(first_name,last_name) values(v_first_name,v_last_name);
14 UTL_FILE.FCLOSE(v_filehandle);
15 COMMIT;
16 EXCEPTION
17 WHEN UTL_FILE.INVALID_OPERATION THEN
18 UTL_FILE.FCLOSE(V_FILEHANDLE);
19 WHEN UTL_FILE.INVALID_FILEHANDLE THEN
20 UTL_FILE.FCLOSE(V_FILEHANDLE);
21 RAISE_APPLICATION_ERROR(-20052,'LOADemployee:INVALID FILE HANDLE');
22 WHEN UTL_FILE.READ_ERROR THEN
23 UTL_FILE.FCLOSE(V_FILEHANDLE);
24 RAISE_APPLICATION_ERROR(-20053,'loademployee:READ ERROR');
25 WHEN OTHERS THEN
26 DBMS_OUTPUT.PUT_LINE('ERROR OCCURED ' || SQLCODE || ' ' || SQLERRM);
27
28 UTL_FILE.FCLOSE(V_FILEHANDLE);
29 END LOADemployee;
30 /
Procedure created.
SQL> DECLARE
2 P_FILEDIR VARCHAR2(200);
3 P_FILENAME VARCHAR2(200);
4
5 BEGIN
6 P_FILEDIR := 'c:\Temp\UTL_FILE';
7 P_FILENAME := 'test.txt';
8
9 SCOTT.LOADEMPLOYEE ( P_FILEDIR, P_FILENAME );
10 END;
11 /
PL/SQL procedure successfully completed.
SQL> select * from emp1;
no rows selectedPratik.L wrote:
i just went through the content is the following line used to write text from the content file to the tables into the database
v_filehandle:=UTL_FILE.fopen(p_filedir, p_filename, 'W');
Thanks & Regards
Pratik LakhpatwalaNo, that simply opens the file in the selected mode. It doesn't read or write anything. And your selected mode is "W", which means you are opening the file with the intent of writing to the file, not reading from it. Better go back and read the docs again.
And as pointed out, you'd be better off using this file as an external table. -
How do I restore iTunes library from Backup files on External Hard Drive?
How do I restore iTunes library from Backup files on External Hard Drive and keep the new iTunes library on the External Hard Drive. I have all the media and playlist and .xml .itl files, just want the iTunes to recognise the content.
I backedup my iTunes content by dragging to External Hard Drive. Formatted and reinstalled OS. My iTunes content is so large, that I wish for the Library and content to remain on the External Hard Drive. I have all the music files and playlists, I just cannot get the iTunes application to display all the content. Hoping to Not have to drag and drop all the content to be recopied into new iTunes organised files.
Troubleshooting this by researching other conversations on the web, I have come stuck for a solution. One Troubleshoot told me to hold down the Command key and then lauch iTunes and a dialogue box will appear to Choose a new library, however when I try this, no Dialogue box appear to give me the option!?It sometimes has that funny switch symbol on it too.
tt2 -
Library file not the same when inserted.
Hello all.
In Dreamweaver 8.0, I have a library item. When I insert it
into a page, I thought Dreamweaver kept inserting an older version.
I open the library file from the Assets panel, make sure it is
correct, save it, hit the refresh button in the Assets panel, and
I'm still getting an older version on my page.
I've also tried recreating the site cache.
However, I'm wondering if I'm getting a different problem.
My library item is a set of navigation links, and the whole
site is a subdomain. Not so unusual in itself. But because this
file is in the folder 'library', all of the links are pointing to
the library folder instead of the (sub) root folder. So I added the
folder name to the links. Would Dreamweaver be automatically
stripping the information, thinking it's redundant?
This is my library item, a drop-down menu.Use a server-side include instead....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
> This isn't going to work in a subdomain.
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
> ==================
>
>
> "Virginia Oh My" <[email protected]>
wrote in message
> news:[email protected]...
>> Hello all.
>> In Dreamweaver 8.0, I have a library item. When I
insert it into a page,
>> I
>> thought Dreamweaver kept inserting an older version.
I open the library
>> file
>> from the Assets panel, make sure it is correct, save
it, hit the refresh
>> button
>> in the Assets panel, and I'm still getting an older
version on my page.
>> I've also tried recreating the site cache.
>>
>> However, I'm wondering if I'm getting a different
problem.
>> My library item is a set of navigation links, and
the whole site is a
>> subdomain. Not so unusual in itself. But because
this file is in the
>> folder
>> 'library', all of the links are pointing to the
library folder instead of
>> the
>> (sub) root folder. So I added the folder name to the
links. Would
>> Dreamweaver
>> be automatically stripping the information, thinking
it's redundant?
>> This is my library item, a drop-down menu.
>>
>>
>>
>>
>>
>> <div style="position:absolute; width:288px;
height:23px; z-index:11;
>> left:
>> 607px; top: 238px;">
>> <div align="right">
>> <select name="name"
onchange="MM_jumpMenu('parent',this,0)">
>> <option selected="selected">Quick pick
Menu</option>
>> <option value="../subdomain/page1.htm">Page
1</option>
>> <option value="../subdomain/page2.htm">Page
2</option>
>> <input type="button" name="Button1" value="Go"
>> onclick="MM_jumpMenuGo('name','parent',0)" />
>> </div>
>> </div>
>>
>>
>> When I insert it into my page, it is all the same
except for the links,
>> which
>> are changed to this:
>>
>> <option value="../page1.htm">Page
1</option>
>>
>> This is telling the link it's in the Library folder,
which it's not.
>>
>> Thanks for your help.
>>
>> Virginia
>>
> -
hi, please help.
Accidentally deleted startupitems from library/startupitems on macbook now the computer wont startup and i get the grey startup loading screen with the apple symbol and a loading bar but wont load then turns off.
i saved these files to a folder on the destop and then turned the computer off. oops!!! now computer wont start up
How do i put the startupitems back to this folder or beter yet get into the computer to fix this.
Please please help!!!Reinstall OS X, either from disc or a recovery partition. You don't mention which version of OS X you're running so I don't know which it will be.
-
Is it safe to delete the cache file folder from library
is it safe to delete the cache file folder from library ?
As I understand it Robo doesn't really 'do' third-party
source control. We use SourceGear Vault, but really only as a
repository for the files. We can't really work concurrently because
Robo needs exclusive access to the top level project files. But it
kind of works for us, because we're on opposite sides of the globe.
I see what you're saying on the 'local' versions of (say) the
cpd files conflicting. If anyone else has an informed view, I'm all
ears. We've set it up this way ourselves - I don't know of anyone
doing the same. If someone tells me this is a bad idea, I'm happy
to think again.
Cheers! -
ITunes Library File Cannot be Saved. The Disk Cannot be Read From . . .
I use a MacBook Pro with a healthy battery. My iTunes songs are on a USB drive. The Database and XML files are on my MacBook. Power went out in my house and the USB drive shut off. The MacBook stayed up and running. Power came back, powered on the USB drive, open iTunes, and bang: This sorry error: iTunes Library File Cannot be Saved. The Disk Cannot be Read From or Written to.
The disks are healthy, did an fsck and ran disk verify/repair. No problems. Restart iTunes, same error. Obviously a corrupted Databse file. This wouldn't be a big deal if only the XML info would be useful and actually restore critical info such as play count and dates which is essential for the Not-So-Smart Playlist dependencies to work.
This is the third time I've been burned with corrupted iTunes "Database" files. I use "Database" in quotes because a true Database wouldn't crap out like this. It would be recoverable. It would understand a simple SQL "Where" statement. It would have a maintenance script and some means for recoverable backup beyond the lame process of copying the XML file. Or it would at least read in the info the XML file.
I am becoming disillusioned with iTunes and I'm beginning to yearn for my old Linux box running GTKPod which never failed me....OK, here's an update - After doing the restore as mentioned having everything seemingly work, I erroniously downloaded the iTunes 7.4 & 7.4.1 updates. Now, about 80% of library is non-responsive, ie: shows up in iTunes, but clicking to play does nothing at all. the other 20% of my library plays, but it's not the song it is supposed to be playing. For example, clicking on a song from say, ABBA prodes a wonderful Gorillaz track :-/ (The same Gorillaz track which will not play if I select it...)
I reiterate: WE NEED A MEANS TO BACKUP OUR LIBRARIES RELIABLY!!!!!!!!!! -
My itunes library had out grown my 2TB drive (I'm a bit of a podcast addict) so I got a 4TB drive to replace it but for some reason my Mac Pro started to act up and eventually apps became crippled to where they would not open.
So I had no choice but to go back to my 2TB drive for my boot drive for now but my itunes library is now slightly larger than the 2TB drive and won't fit so with my previous 4TB drive connected via a hard drive dock I followed the instructions to move my itunes library to a secondary 4TB drive in my mac pro and that went fine the one thing I noticed is in the article it says not to move the 2 library files but now my itunes media is on a internal drive and the 2 library files are on the hard drive connected to my mac pro via the dock so if I was to remove the drive from the dock the 2 library files would no longer be accessable and my itunes library would not be able to be found even though the media in on one of my internal drives.
Anyone know how I can rectify this issue?Does this article help: http://docs.info.apple.com/article.html?artnum=305451 ?
-
Hello Gurus,
I have an aged XP machine with a large music library in ITunes. iTunes will not run any longer (tried uninstalling and reinstalling etc to no avail) but the music files are backed up onto an external drive so all safe. I have purchased a Mac which of course already has iTunes installed and I can copy the music files onto the Mac, but can I simply copy and paste the iTunes library files from the XP machine to the Mac so that all of the playlists, tags, ratings etc transfer, or do I have to start again?
Thanks for the advice.Sounds like you have a split library. Ideally you would make this portable before attempting to move it to the Mac. See make a split library portable for details.
Perhaps you can get iTunes running on the old box long enough to sort things out...
For general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
You will also want to deauthorize the XP system once everything is working properly on the Mac.
tt2 -
HT3847 How is the best way to separate copied MP3 from AIFF files in my library?
How is the best way to separate duplicate MP3 from AIFF files in my library?
Zice wrote:
I want higher resolution then afforded in the original download.
Then why are you converting iTunes purchases?
You cannot get higher resolution by converting the original. This goes for converting anything, not just iTunes purchases.
Creating an AIFF will simply make the file 10 time as large with zero increase in quality.
Don't really want to debate value of creating the new version.
Agreed.
You are simply wasting time and drive space converting iTunes purchases to AIFF. -
How to insert a JPG file from file system to Oracle 10g?
I have developed a schema to store photos as BLOB which store the text description as CLOB original filename, file size.
I also use ctxsys.context to index TEXT_DESCRIPTION in order to perform Oracle Text Search and it works.
I would like to insert some JPG file from say C:\MYPHOTO\Photo1.jpg as a new record. How can I do this in SQL PLus and/or Loader?
How can I retrieve the PHOTO_IMAGE back to the file system using SQL Plus and/or command line in DOS?
See the following script:
create user myphoto identified by myphoto;
grant connect, resource, ctxapp to myphoto;
connect myphoto/myphoto@orcl;
PROMPT Creating Table PHOTOS
CREATE TABLE PHOTOS
(PHOTO_ID VARCHAR2(15) NOT NULL,
PHOTO_IMAGE BLOB,
TEXT_DESCRIPTION CLOB,
FILENAME VARCHAR2(50),
FILE_SIZE NUMBER NOT NULL,
CONSTRAINT PK_PHOTOS PRIMARY KEY (PHOTO_ID)
create index idx_photos_text_desc on
PHOTOS(TEXT_DESCRIPTION) indextype is ctxsys.context;
INSERT INTO PHOTOS VALUES
('P00000000000001', empty_blob(), empty_clob(),
'SCGP1.JPG',100);
INSERT INTO PHOTOS VALUES
('P00000000000002', empty_blob(), 'Cold Play with me at the concert in Melbourne 2005',
'COLDPLAY1.JPG',200);
INSERT INTO PHOTOS VALUES
('P00000000000003', empty_blob(), 'My parents in Melbourne 2001',
'COLDPLAY1.JPG',200);
EXEC CTX_DDL.SYNC_INDEX('idx_photos_text_desc');
SELECT PHOTO_ID ,TEXT_DESCRIPTION
FROM PHOTOS;
SELECT score(1),PHOTO_ID ,TEXT_DESCRIPTION
FROM PHOTOS
WHERE CONTAINS(TEXT_DESCRIPTION,'parents',1)> 0
ORDER BY score(1) DESC;
SELECT score(1),PHOTO_ID ,TEXT_DESCRIPTION
FROM PHOTOS
WHERE CONTAINS(TEXT_DESCRIPTION,'cold play',1)> 0
ORDER BY score(1) DESC;
SELECT score(1),score(2), PHOTO_ID ,TEXT_DESCRIPTION
FROM photos
WHERE CONTAINS(TEXT_DESCRIPTION,'Melbourne',1)> 0
AND CONTAINS(TEXT_DESCRIPTION,'2005',2)> 0
ORDER BY score(1) DESC;Hi
You can use the following to insert an image:
create table imagetab(id number primary key,imagfile blob, fcol varchar2(10));
create or replace directory imagefiles as 'c:\'
declare
v_bfile BFILE;
v_blob BLOB;
begin
insert into imagetab (id,imagfile,fcol)
values (3,empty_blob(),'BINARY')
return imagfile into v_blob;
v_bfile := BFILENAME ('IMAGEFILES', 'MyImage.JPG');
Dbms_Lob.fileopen (v_bfile, Dbms_Lob.File_Readonly);
Dbms_Lob.Loadfromfile (v_blob, v_bfile, Dbms_Lob.Getlength(v_bfile));
Dbms_Lob.Fileclose(v_bfile);
commit;
end;
/
Maybe you are looking for
-
WRT54G Wireless router works on desktop, but not laptop
I have a WRT54G wireless router with version 1.00.4 It works on my desktop, I can log into the net no prob My laptop however (dell w/ windows xp) does not even recognize it. Wierd thing is, it worked perfectly with no problems today, I have been goin
-
How to make Bluetooth keyboard work?
Firstly, I have spent over an hour reading this, that and the other. Nothing seems to make it work. It did work. For a while. Now it just seems to spontaneously decide to stop accepting input. Or sending keys. Or whatever the issue is. 0. The batteri
-
I already made an accoount, so how can I change it so that I do not have to choose a type of credit card. Cause it does not give me the option of NONE
-
Save Temporary data from Standard infotype for 9003 infotype module pool
Hi, I need to save some data from infortype 0000 screen call that needs to be used in some other program. Pleasse suggest any way out. Regards, Shashank
-
6280 All-in-One printer - changing from USB to Ethernet connection - error - can't find the printer
I am trying to reinstall my C6280 All-in-One printer from the product CD - my original installation was for a USB connection, I would now like to reinstall to an Ethernet connection for use on our wireless nework. I have gone through the HP -Installi