records Questions

8

Solved

Something I've wondered for a long time: why aren't Delphi records able to have inheritance (and thus all other important OOP features)? This would essentially make records the stack-allocated ver...
Promiscuous asked 19/1, 2010 at 17:39

7

Solved

This is probably a very simple question for somebody with experience, but I just wanted to know the safest way to delete a couple of hundred records in an SQL table that fall between a specif...
Angiosperm asked 22/11, 2011 at 10:6

2

Solved

Can someone explain the single quotes (' ') in this Erlang record syntax? #'queue.declare'{queue = <<"hello">>}
Dogvane asked 22/2, 2014 at 7:51

1

Seeing a record already has a public Getter/(Setter) for its fields, is it possible to specify that a record satisfies a matching interface without re-implementing it? For example: type IText = ...
Tyson asked 10/9, 2014 at 16:20

3

Solved

I have a record: (defrecord Point [x y]) (def p (Point. 1 2)) Now I want to extract just the map from the record. These ways get the job done. Are these good ways? Are there better ways? (into ...
Americana asked 27/7, 2014 at 4:8

8

Solved

I have a table with records that have blank/null data in certain columns and I want to find records where ALL columns have a value other than blank/null without creating a really long SQL statement...
Tetartohedral asked 11/7, 2012 at 18:20

3

We are having a few issues with records and protocols in different namespaces. We have a protocol in namespace foo.proto. (ns foo.proto) (defprotocol Proto (do-stuff [this x y])) I have a rec...
Rousing asked 24/9, 2013 at 15:11

1

Solved

In my activity I have 2 Datepicker with which I choose the starting date (for example 01/01/2014) and end date (for example 12/01/2014). then I have to insert 12 records at the same time with their...
Rolf asked 24/1, 2014 at 22:9

2

Solved

I have a log table in which I want to delete records of each user except last three records. Schema DROP TABLE IF EXISTS `log`; CREATE TABLE `log` ( `user_id` int(11) DEFAULT NULL, `timestamp`...
Bookkeeper asked 9/1, 2014 at 8:31

1

Solved

A basic question about Haskell records. If I define this datatype, data Pet = Dog { name :: String } | Cat { name :: String } deriving (Show) the following works: main = do let d = Dog { n...
Reinsure asked 3/1, 2014 at 16:13

1

Solved

I reviewed versions of my question already addressed, but some of the good tips I found (using rank() over (partition...) for example, do not seem to work in the Sybase version I am on. I am hopin...
Kohler asked 22/12, 2013 at 3:59

2

Solved

I have an record defined as follows type ifx_t is record data : std_logic_vector(127 downto 0); address : std_logic_vector (19 downto 0); WrReq : std_logic;-- RdReq : std_logic; -- end recor...
Carnegie asked 17/12, 2013 at 9:27

1

Solved

I wanted to insert about millions records into my database, but it went very slow with a speed about 40,000 records/hour, I dont think that my hardware is too slow, because i saw the diskio i...
Turnout asked 30/10, 2013 at 12:35

2

Solved

I am trying to write a record which represents a bank account: -record(account, { name :: atom(), type :: atom(), balance = 0 :: integer() }). I also want to restrict the balance to always be ...
Clearance asked 5/4, 2013 at 18:19

2

Solved

I have a table with 158 columns and 22,000 rows and I have another empty table where I want insert values dynamically based on the WHERE condition coming from the user. The SELECT query will ...
Deal asked 27/3, 2013 at 0:13

3

Solved

I have a Moodle installation that I migrated to another server and I need to change several references to the old domain. How can I replace a string for another string in MySQL for a given databas...
Kittie asked 9/1, 2013 at 15:12

1

Solved

If I have a type in a module State type state = {x: int; y: int} and I have another type in module Game type game = State.state how can I access the record values in a object with type game? ...
Catalpa asked 26/11, 2012 at 2:3

2

Solved

I see related issues and solutions in Google and in previous answers here, but they all baffle me. Say I have a list of records, each with an id. Say: -record(blah, {id, data}). Record2#blah.id ...
Alvey asked 5/10, 2012 at 19:45

3

Solved

I know you can't actually descend anything from a record, but I'm not sure how to summarize my problem in one sentence. Edit the title if you do. What I want to do here is make an array of some ge...
Finished asked 28/6, 2012 at 21:31

1

Solved

I have written a simple example for my scenario. I create a record type Switch type State = | On | Off with member this.flip = match this with | On -> Off | Off -> On type Switch = {...
Bartholomew asked 23/6, 2012 at 19:23

4

Solved

type TSomeRecord = Record field1: integer; field2: string; field3: boolean; End; var SomeRecord: TSomeRecord; SomeRecAr: array of TSomeRecord; This is the most basic example of what I have...
Cohleen asked 16/6, 2012 at 18:2

3

Solved

I am currently working with a three-level process for which I need some information to flow being accessed and updated. The information is also three-leveled, in such a way that a process at one le...
Nance asked 21/2, 2012 at 14:52

2

Solved

It seems like both can be used to define functions that you can implement later, with different data types. AFAIK the major difference is that defmulti works on maps and defprotocol works on record...
Markland asked 18/1, 2012 at 9:47

2

Solved

Is there a way to delete all the records from an NSManagedObjectContext? I'm using the following code to insert data: NSManagedObjectContext * context = [[NSApp delegate] managedObjectContext]; N...
Mixtec asked 12/11, 2009 at 21:21

1

Solved

How do you work with a List of Records in F#? How would you even pass that as an argument in a function? I want to do something like this: type Car = { Color : string; Make : string; } let get...
Gazzo asked 28/9, 2011 at 15:49

© 2022 - 2024 — McMap. All rights reserved.