Search update

60548 results
2

votes
5

answer

Novice SQL Update Question

Revised Query.. the [Id] column is unique to all records.. the query should return the correct value for CorEURUSD to both Symbol = EURUSD and Symbol = GBPUSD where the [Time] = [Time] values. CREATE TABLE [dbo].[Tck2]( [Id] [bigint] IDENTITY(1,1) NOT NULL, [Symbol] [varchar](35) NULL, [Time] [date...
CraigJSte
2

votes
0

answer

Update matrixInput in Shiny

I would like to update the matrix input based on user-input values for the first row when the button 'fill matrix' is pushed. The matrix is updated correctly (as printed), but the input fields do not change accordingly. Any advice would be greatly appreciated! ui.R library(shiny) library(shinyIncuba...
Machteld Varewyck
1

votes
4

answer

multiple update query mysql

I have a table in which primary key is combination of two columns. I want to update multiple rows depending upon my Primary keys StationId ServerDate Status 1 2011-05-05 01:00:00 0 1 2011-05-06 01:00:00 1 2 2011-05-05 01:00:00 2 My update queries currently lo...
Gunjan Nigam
5

votes
4

answer

FileLoadException after NuGet Update

After doing an update of all NuGet packages, one of my applications began crashing on start-up with a FileLoadException: Could not load file or assembly 'Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This was after...
Charlie
2

votes
1

answer

update row in DB

I'm trying to learn how to do CRUD operations, but I can't seem to figure out how to update an existing row in my DB. I've gotten the create and delete part working, but I don't really know how to solve the update part. I've googled a lot about it, but I can't find a explanation that I fully underst...
user2261654
2

votes
3

answer

Laravel account details update

I am still getting to grips with the Laravel framework but something that should be simple is turning out to be a troublesome issue for me. I have created a view inside account/update.blade.php Change password Update I have within AccountController.php public function postUpdate(){ $user =...
coder123
2

votes
1

answer

SolrCloud insert/update documents

presently i am working on a search application using solrcloud. I have tested many features of solrcloud which i was looking for.I want to know that if i insert/update/delete in to cloud using solrj client (Any flavor Http,embedded,cloud ...) or using lucene API directly to write to index directory...
6

votes
4

answer

Automatically update jar files

I am currently working on desktop software based on java.It's quite a big code base (more than 40 jar files). I wish to provide an automatic update functionality. The desktop software constantly checks one back end system to see if there are new versions of the jar files available. The problem now...
user381878
2

votes
3

answer

JProgressBar wont update

I'm trying to add a JProgressBar to my program, but it wont update! The value only changes once it reasons 100%. Here's my method. public void downloadImages(List images) { if (errorCode == 0) { for (int i = 0; i < images.size(); i++) { if (errorCode == 0) { main.progressLabel.setText('Downloading i...
Jonathan Beaudoin
1

votes
3

answer

Regular expression value update

I had written the below regular expression string validnumber = @'^[a-zA-Z]{2}[0-9]{7}(?:-[0-9]{5})?$'; This will allow the numbers like 'AA1234567' and 'AA1234567-12345'. I want to allow below all formats AA1234567? AA1234567?? AA1234567??? AA1234567???? AA1234567-? AA1234567-?? AA1234567-??? AA12...
Triandh Velchuri
1

votes
3

answer

UPDATE IF EXISTS error

Im try to update value (level) in in table people if userid exist in users table in table IF EXISTS (SELECT userid FROM users) UPDATE people SET level='1' What i am missing ! to get errors ?
Jecki
4

votes
2

answer

update instead of delete

with cakephp, is it possible to have update sql action instead of delete (i would like to set some kind of flag, so it 'looks' like it is deleted)? tnx in adv!!!
user198003
4

votes
2

answer

Update all wordpress posts

I need make all of my posts update. I use bulk upload for store, but in web page posts/products dont show, when i hit update, posts/products are showed up. I think use wordpress default update function: // Update post 37 $my_post = array(); $my_post['ID'] = 37; $my_post['post_content'] = 'This is t...
Foxsk8
8

votes
2

answer

HBase update operation

I am new to HBase, I find in HBase client API, update operation is not supported? Is that correct? If so, what is the suggested best practices to update the values for a specific rowkey?
Lin Ma
7

votes
3

answer

Conditional update in SQLite

Can I create in SQLite a statement like this? update books set (if number_of_pages > 0 then number_of_pages = number_of_pages - 1) where book_id = 10 Is there a working syntax for this?
xralf
16

votes
2

answer

Composer Update Laravel

A developer has sent me his project to work with, but when ever I try to update or install my vendors everything works great until the very end and it outputs the message bellow. C:\xampp\htdocs\BigWaveMedia\davinkit>php artisan migrate {'error':{'type':'Exception','message':'expected color value: f...
Brent
1

votes
3

answer

Update Statement with subquery

MS Access Update Statement with subquery I have Order table and OrderDetails table. OrderDetails table has orderline items with quantity and subtotal. I would like to run a query to update 'Total Amount Before Discount' in Order table with the sum value of correspondent orderline subtotals. The quer...
Peter
2

votes
1

answer

WordPress - update language files

I installed WordPress 3.8 in english language. I'm thinking about change default language (manual upload translation files). But there's something I don't know: does WordPress itself will be able to upgrade this files in the future?
Mateusz Jagiełło
3

votes
1

answer

GridView update/delete crashes

I have a gridview of my table. I established a AccsessDataSource to my database. The Accsess datasource is configured so the sql scentance is: SELECT * FROM [Users] In the advanced settings I checked 'Generate INSERT, UPDATE, and delete statements' I enabled editing and deleting. My source code show...
GolanTheAce
2

votes
2

answer

Is this update lost?

I just want understand the meaning of 'update lost' which is solved by transaction. Please take a look at following two transaction, I use mysql 5.5.8 and innodb storage engine: create table counter (what varchar(5), id integer, count integer, primary key (id)); insert into counter values ('total',...
Chang
6

votes
3

answer

Synchronise/update sqlite databases

We've got an android app and an iPhone app (same functionality) that use sqlite for local data storage. The apps initially come with no data, then on the first run they receive data from a remote server and store it in a sqlite database. The sqlite database is created by the server and the apps do...
Aleks G
3

votes
2

answer

Update timeZone f:convertDateTime

When I change timeZone of f:convertDateTime this doesn´t change. ` ` zone is a element java.util.TimeZone. I use primefaces 3.5
Mathew Rock
4

votes
2

answer

Linq2SQL using Update StoredProcedure

We use queries generated by Linq for data retrieval but for INSERT and UPDATE we do not allow generated SQL, but restrict to the use of stored procedures. I connected the Update and the Insert behaviour in the DBML to the stored procedures. The procedures are called, the data gets inserted/updated...
PeterFromCologne
2

votes
1

answer

JavaFX Canvas Update

I've been working on switching my applications from Swing to JavaFX. I've been working on a room escape game which displays a description of the item on which the user clicks. In Swing, I'd subclass JComponent and override the paintComponent(Graphics) method. I could draw the text there, knowing tha...
nrubin29
2

votes
3

answer

Return Collection after update()?

Using Raw, how to return collection of updated row? For example: $updated = DB::table('users')->where('id', 1)->update(['votes' => 123]); I was expecting dd($updated) to return updated row of collection but it returned 1. {{$updated->votes}} should return 123
I'll-Be-Back
2

votes
2

answer

Arch Linux update error

Today I update the ArchLinux use pacman -Syu, but it reported some error. I didn't pay attention. Then I rebooted the machine and now it reports a kernel panic. I found the news But it didn't tell that the kernel could panic. I cannot even login to the system.
jasonz
2

votes
1

answer

update image in web2py

I have a more special question. It is really simple to display an image in an html tag. I have done it by returning the sql file in a dict to the same named html file, which embed it in the tag with the following code: My problem is now, that i am really confused. I have an image database in model...
Ingeborg
6

votes
2

answer

Manually trigger pipe update

I have created a pipe to be able to use *ngFor with objects. However, when the object is updated, the pipe does not update. I have found a solution here by using stateful pipe with pure: false. This solution is not acceptable in terms of performance for my use case as it will refresh the pipe for e...
ncohen
2

votes
1

answer

openJPA batch update pattern

I need to update thousands of Entities and the logic can not be put into a SQL statement. When using non-managed JPA the pattern I use is: long commitThreshold = 100; // or other appropriate value try { em.beginTransction().begin(); for(list of entities to be modified) { // retrieve current Entity...
Timothy Vogel
4

votes
3

answer

MVC partial page update

I have an MVC project where I have a form with fields a user can enter and save. On that same page I have a table which shows a brief listing of information that the user just saved. The problem I am having is trying to update only the table after a save and not an entire page refresh. Is this p...
GB.
3

votes
1

answer

Detecting chrome extension update

I have an extension and I did lots of refactoring in my code, I want to publish a new version but in my new code I want to detect when the extension is being updated and do some actions. I know that with chrome.management I can detect other extension update but I want to detect my own extension upda...
Yosi
2

votes
4

answer

HIbernate schema update error

During the startup of Jboss server, I get the following stacktrace. I wonder why JPA is trying to alter tables that seem to be fine and how to get passed these ERROR messages. Thanks 2009-08-03 11:28:49,683 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table BDPARAMS add constr...
1

votes
4

answer

Auto update icons

What I am currently trying to achieve is an auto icon updater. So far I only have it working for 1 icon, but I have 9. Now I have tried to repeat the same code 9 times, try to get it to work from the same file, ect... but to no success. Each icon has a separate timer which will show a different imag...
Sam Ham
20

votes
8

answer

Create or Update Sequelize

I'm using Sequelize in my Nodejs project and I found a problem that I'm having a hard time to solve. Basically I have a cron that gets an array of objects from a server than inserts it on my database as a object ( for this case, cartoons ). But if I already have one of the objects, I have to update...
2

votes
0

answer

Update dynamically created textbox

I have created this update function but I am gettng 'SelectCommand.Connection property has not been initialized' error.Can anyone help me for this.My code is: public void Update_Click(object sender, EventArgs e) { Button b = sender as Button; b.ForeColor = Color.Blue; b.Font.Bold = true; string str...
khadgi
2

votes
2

answer

Spring Cache Update

Is it possible to have Spring's caching abstraction populate the cache with a given item, rather than just have it read-through? Imagine I have the methods Thing getItem(UUID id) and setItem(UUID id, Thing thing). I'd like to use @Cacheable on the former to have it read from the cache, and if it is...
59

votes
4

answer

ClassNotFoundException after ADT update

I've recently updated Android SDK & Eclipse ADT plugin to latest version. Now when i try to run a pre-existing Android project, the LogCat shows a ClassNotFoundException. I tried to create a new device but the problem still exists. Manifest LogCat 05-17 13:09:56.357: E/AndroidRuntime(969): FATAL EXC...
user2340612
3

votes
2

answer

Forcing layout update

How to force the layout measurements update? I have simplified layout I am problem with; when you click the button first time you get one measurement and on the second click different one. private void Window_Loaded(object sender, RoutedEventArgs e) { var w = mywindow.ActualWidth; gridx.Width = w;...
David Daks
2

votes
1

answer

Slow update with ST_Contains()

UPDATE tbl SET city=s.city_name FROM shp AS s WHERE ST_CONTAINS(s.city_geom,geom); With the code above i can add exact city to a GPS point. It runs about 45-50 min on 50 million rows. There are about 4000 cities in the 'city' table that have to be checked. I have another shape file with 19 counties...
Boppa
1

votes
2

answer

Update rows in table

I have a table (Fruits) with following column Fruit_Name(varchar2(10)) | IsDuplicate Number(1) Mango 0 Orange 0 Mango 0 What i have to do is to update IsDuplicate column to 1 where Fruit_Name in Distinct i.e Fruit_Name(varchar2(10)) | IsDupl...
facebook