* fromsysobjectswhereName='Tr_person_insert') Drop TriggerTr_person_insertGo Create TriggerTr_person_insert onPerson afterInsert as Declare @pcid int,@pid int Select @pcid=Inserted. PCID,@pid=Inserted. Pid frominsertedif( not exists(Select * fromClasseswhereCid=@pcid)) begin Delete from [ Person] wherePid=@pcid Print 'inserting a class that fails to exist' End GoInsert focused non-focused index--Create an index--Index: To improve the efficiency of the query. Equivalent to a reference that c
from the dataset. This option works the same as setting NOLOCK on all the tables in all statements within a transaction. This is the least restrictive level in the four isolation levels.The third case:Repeatable READThe function of this sentence is:Locks all data used in the query to prevent other users from updating the data, but other users can insert new Phantom rows into the dataset, and phantom rows are included in subsequent reads of the current transaction. Because concurrency is lower
and the performer is pluggable, so the design reduces the coupling degree of the program.//////////////////////////////////////////////////////////////////////////////////////////////////////December 29, 2015 (Supplementary chapter)Android Resource OperationResources stored in the Res directory in the Android directory will automatically generate an index in the
Android Resource File Categories:
Android resource files can be broadly divided into two types:The first is stored in the Res directory.resource files that can be compiled:This resource file system will automatically generate the ID of the resource file in R.java, so access to this resource file is relatively simple, through the r.xxx.id can be;The second t
Android learning [Android kernel compilation process and error notes], android Kernel
Blog: http://blog.csdn.net/muyang_renUbuntu14.04 LTS (requires a 64-bit long-term support version of LTS)Jdk1.8Kernel: android4.0
I. jdk
1. Decompress jdk to obtain the path
2,sudo vim /etc/environment To:
PATH="/usr/local/sbin:/usr/
This series is the Reading Notes for reading "Pro android4". It also includes the preparation of online reading materials and my personal experiences.
Because smartphones introduce AP (application processor), Android is a personal computer in a sense. It has a complete architecture of desktop computers and uses Linux-based OS stack to manage devices, memory, and processes.
Android NDK notes and androidndk notes
**************************************** **************************** **********************************NDK development steps1. Create a project2. Create a JNI directory3. Compile the nativejava Layer Method4. Generate the JNI header file(1) Compile javaNative code(2) Introduce a command javah(3) Add the
Problem:To publish the APK to the Google market, you need to sign the APK digitally.Solution:You can use the Java keytoll command to create a certificate and use it in the Signingconfigs block of the Gradle configuration file.Discuss:All apk must be signed before being released. By default, Android uses a known key to sign the APK that is being tested. You can see it using the Java keytool command line.The debug key is
functionality of the kernel, and then uses the Dalvik virtual machine on the application tier to support the instruction execution of the Dex file. The key is here, for Windows, the application layer is the application layer, is directly exposed to users and developers of things. But Android is not the same, Android has a virtual machine. For Linux, those things Androi
Android Development Review notes-Menu menu component (option Menu, context menu, sub Menu), Android menu
Menus are one of the most common elements in the user interface and are frequently used. In Android, menus are divided into three types: OptionsMenu and ContextMenu) and SubMenu ).
There are two menu implementation
Android personal learning notes-use myeclipse to quickly create a webservice and call it in Android
Web service is a platform-independent, low-coupling, self-contained, programmable web-based application that can use open XML (a subset of standard General Markup Language) standards are used to describe, publish, discover, coordinate, and configure these applicati
plug-in: Android Development tools (ADT), the Android Developer KitOpen the Help-install new software pop-up interface as follows, then click Add Pop-up Interface: Name to fill ADT, path to select local download good ADT Jar file, click Next. When installed, you will be asked to restart Eclipse,eclipse and intelligently associate it with the Android SDK in the
Android development art Exploration Study Notes (6), android art Exploration
Chapter 6 Drawable of Android
Advantages of Drawable: it is easy to use, which is lower than the cost of custom view. Non-image Drawable occupies less space, which helps reduce the size of the APK installation package.
6.1Drawable Introduction
With the increasing popularity of Android and the continuous launch of various applications, I also coincidentally sent a telecom Android system custom machine during the broadband renewal in March, which prompted me to advance the learning plan developed by Android, I also provided a development and testing site (mobile phone), which also enhanced my interest in
display the user interface, they can create status notification bar notifications that alert users when a broadcast event occurs. But the more common use of broadcast receivers is simply as a "channel" to other components designed to perform a very small amount of work.For example, it might initiate a service based on an event to perform a task. Before the Android system launches the application component, the system must verify that the component ex
Android Development Review notes-TabHost component (1) (implement menu navigation at the bottom), Android tabhost
What is TabHost?The main function of the TabHost component is to manage applications by category. For example, you can see a graphical interface when using a windows operating system.
When talking about this component on the TabHost tab, you have to g
Android Development Review notes-TabHost component (2) (bottom menu navigation), Android tabhost
In the previous article "android Development Review notes -- TabHost component (1) (implementing the bottom menu navigation)", we mentioned using custom View (ImageView + TextVie
Problem:Want to use Gradle in an existing Eclipse ADT projectSolution:Eclipse ADT Plugin can help generate Gradle filesDiscuss:The ADT plugin for Eclipse was the main Android development tool before the launch of Gradle in 2013. The ADT project is now being replaced by Android studio, but there are still legacy projects.ADT Plug-ins can be based on existing project structures and dependencies that help you
not recommended because it is notAll devices have WiFi, and if WiFi is not turned on, the hardware device cannot return to Mac ADDRESS.3. Serial NumberThe Android 2.3 can be obtained via Android.os.Build.SERIAL, and non-mobile devices can be obtained through this interface.4. android_idANDROID_ID is a number of 64bit that is generated and stored when the device is first started and resets when the device i
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.