可以Long Integer存储字母吗?(Can Long Integer store letters?)
我在Access中运行了“分析性能”功能,它有一个提高性能的“想法”; Access表示我应该将字母数字混合的项目从
text
数据类型转换为long integer
(来自该想法的特定名称),如12BB1-DF740
。 Access是否正确,这将提高性能是次要的长整数是否可以存储字母。[§关于数据 - 提供给我的数据中的连字符始终存在于该位置; 字母总是AF]
据我所知, w3schools表明
Long
只会存储数字
Long
- 允许-2,147,483,648和2,147,483,647之间的整数
- 我是在混淆数据类型吗? (此外,当我拉出设计视图时,它只提供
number
作为数据类型;没有long integer
或long integer
)- 可以
Long Integer
存储字母吗?- 如果我的列已经填充,并且我转换了数据类型,我会丢失数据吗?
I ran 'Analyze Performance' feature in Access and it had an "idea" to improve performance; Access said I should convert items that are alphanumeric mixes that look like this
12BB1-DF740
§ fromtext
data type intolong integer
(the specific name from the idea). Whether Access is right that this would improve performance is secondary to whether long integer can store letters at all.[§ About the data - the hyphen in the data provided to me is always present at that location; the letters are always A-F]
From what I can tell, w3schools is indicating that
Long
will only store numbers
Long
- Allows whole numbers between -2,147,483,648 and 2,147,483,647
- Am I conflating data types? (Further, when I pull up the design view, it only offers
number
as a data type; there is nolong
orlong integer
)- Can
Long Integer
store letters?- If my column is already populated, and I convert the data type, will I lose data?
原文:https://stackoverflow.com/questions/13275113
最满意答案
我建议你使用这种方法来分享应用代表: https : //coderwall.com/p/z4h4uw?i = 2&p = 1&q =&t%5B%5D =%21%21mine&t%5B%5D =%21%21bookmarks
I recommend you this method to share the app delegate: https://coderwall.com/p/z4h4uw?i=2&p=1&q=&t%5B%5D=%21%21mine&t%5B%5D=%21%21bookmarks
相关问答
更多-
使用UITableViews在app上使用ADBannerView的共享实例(using shared instance of ADBannerView across app with UITableViews)[2022-03-30]
使用NSNotificationCenter来解决这个问题就像一个魅力,现在我的iAds一旦加载就会出现 - 耶! 如果其他人需要这个是我输入的额外代码:(在我的appDelegate.m中) - (void)bannerViewDidLoadAd:(ADBannerView *)banner { NSLog(@"bannerViewDidLoadAD"); if (!_adBannerViewIsVisible) { _adBannerViewIsVisible = YES; [[NSNo ... -
我建议你使用这种方法来分享应用代表: https : //coderwall.com/p/z4h4uw?i = 2&p = 1&q =&t%5B%5D =%21%21mine&t%5B%5D =%21%21bookmarks I recommend you this method to share the app delegate: https://coderwall.com/p/z4h4uw?i=2&p=1&q=&t%5B%5D=%21%21mine&t%5B%5D=%21%21bookmarks
-
查看instantiateViewControllerWithIdentifier 文档 ...... 讨论您可以使用此方法创建要在应用程序中以编程方式操作和显示的视图控制器对象。 在使用此方法检索视图控制器之前,必须在Interface Builder中使用适当的标识符字符串对其进行显式标记。 每次调用时,此方法都会创建指定视图控制器的新实例。 我认为appDelegate中的代码不会返回通过故事板呈现的ViewController Looking at the instantiateViewContro ...
-
尝试 (MillersAppAppDelegate *)[[UIApplication sharedApplication] delegate]; 而是:) 您希望将[[UIApplication sharedApplication] delegate]为MillersAppAppDelegate 。 您不小心将sharedApplication本身转换为MillersAppAppDelegate Try (MillersAppAppDelegate *)[[UIApplication sharedApp ...
-
你的getter方法是罪魁祸首吗? 您将返回没有通常的retain / autorelease模式的_appUser。 你可以通过制作getter方法解决问题: - (User *)appUser { if(_appUser == nil) return [NSUserDefaultsManager GetUser]; else return [[_appUser retain] autorelease]; } 要么... - (User *)appUser { if(_ap ...
-
需要两个类, UIApplicationDelegate子类和定义调用UIApplication.Main的Main入口点的类将是您在UIApplicationDelegate子类上使用的Xamarin.iOS注册名称。 基本/最小UIApplicationDelegate: [Register("AppDelegate")] public class AppDelegate : UIApplicationDelegate { public override UIWindow Window ...
-
听起来您正在尝试处理/管理应用程序委托中的连接。 AppDelegate的目的是响应applicationdidbecomeactive / applicationwillenterforeground等应用程序级事件。 我的建议是你创建一个单例来管理你的连接。 这通常称为sharedInstance模式。 这个单例应该实现managedObject的委托函数。 它们实施后有几个选项。 键值观察或KVO( http://nshipster.com/key-value-observing/ ) NSNotif ...
-
AppDelegate - 无法识别的选择器发送到实例[关闭](AppDelegate - unrecognized selector sent to instance [closed])[2023-11-05]
您似乎应该将应用程序委托从基类转换为项目中的委托。 例如,如果此行导致崩溃 [[[UIApplication sharedApplication] delegate] getCommandInstance: someVar]; 例如,您的应用程序委托是MyAppDelegate ,然后只需添加MyAppDelegate [((MyAppDelegate*)[[UIApplication sharedApplication] delegate]) getCommandInstance: someVar]; ... -
关于方法instantiateViewControllerWithIdentifier 从文件 每次调用时,此方法都会创建指定视图控制器的新实例。 因此,在didFinishLaunchingWithOptions ,您将创建一个本地viewController实例。 并且,该方法完成后将被解除分配。 About method instantiateViewControllerWithIdentifier From the document This method creates a new instanc ...
-
ViewController委托方法不从AppDelegate触发(ViewController delegate methods not fired from AppDelegate)[2022-06-10]
你的AppDelegate不符合PKPaymentAuthorizationViewControllerDelegate ,那么在那里失败了,那么as? 返回nil 。 因此,您的paymentAuthorizationViewController没有委托,因此不会调用其委托方法。 您应该使您的AppDelegate符合PKPaymentAuthorizationViewControllerDelegate ,如下所示: @objc class AppDelegate: FlutterAppDelegate ...