Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Alex Duncan

Alex Duncan

Community Learner
Share
21Questions
20Answers
47.8KViews on questions

c# vs c++ vs java - Which should I choose and why?

c# vs c++ vs java C# is better than C++ in that: It has native garbage-collection. It allows you to treat class-methods' signatures as free functions (i.e. ignoring the statically typed this pointer argument), and hence create more dynamic and flexible relationships between classes. edit if you don't know what this…

Java

Answered Oct 13, 2022 · 1.1K Views Read answer →

How to fix picked up _java_options listed on Linux?

When you changed users with sudo it changed your environment as well, and apparently the picked up_JAVA_OPTIONS variable did not exist in the root user's environment. It also vanished when you removed that variable from your own environment. However, Netbeans can adjust the environment however it wants before creating…

Java

Answered Oct 13, 2022 · 5.5K Views Read answer →

How can I get a Java print file?

import java.io.*; Never import the full package. It is considered bad practice to do so. Instead, import what you need and only what you need. Instead of just reading a Java print file then printing it, why don't you create a method that reads all line of a file and returns a list of all the lines? This way, you can…

Java

Answered Oct 6, 2022 · 1.3K Views Read answer →

What is equivalent to Linq Java?

To get full LINQ Java query syntax, you would need an update to the language spec and compilers supporting the new keywords and syntax structure. This is far beyond most readers here. In order to get Linq-like method-chain syntax in Java that looks and works like what's in C#, you need two things Java doesn't support;…

Java

Answered Oct 6, 2022 · 1.6K Views Read answer →

How to duplicate row sql?

This is a very simple INSERT .. SELECT query. The id is not included in the column list as it has the AUTO_INCREMENT property and will get values automatically. You only need to replace 'aaa' with the menucardhash value that you want to duplicate row sql from and 'qqq' with the new value: INSERT INTO menuship3…

SQL Server

Answered Oct 4, 2022 · 2.8K Views Read answer →

What should I do if there is an unknown column in field list?

The problem - unknown column in field list may be that you had forgotten to execute a use ; statement, and consequently weren't executing the insert in the correct database. In other words, you might be trying to insert into a table that exists in a different database, but with a different structure.

SQL Server

Answered Oct 3, 2022 · 14.3K Views Read answer →

How does field_custom_validation_exception happen without upserting the field?

FIELD_CUSTOM_VALIDATION_EXCEPTION means that there is a validation rule defined in your org and the record you are updating does not meet this rule. When you update a record the entire record is checked against validation rules, even if you are not modifying those fields (unless you have something like ISCHANGED() in…

Salesforce

Answered Sep 23, 2022 · 1.6K Views Read answer →

What is BatchID in tracking data views?

BatchID is the 'grouping' of the email inside the batches sent to the Mail Transfer Agent for sending. In a Bulk send environment, this means the following: (numbers are all arbitrary) Assume that the MTA has a max of 100 emails per batch You have an audience size of 1000 emails You would have 10 batches inside your…

Salesforce

Answered Sep 23, 2022 · 2.5K Views Read answer →

Does the SSH know_host file need a server name?

The whole point in having a known_host is to keep a record of keys associated with the host they belong to. To be more specific, it records the key associated with the hostname you tried to connect to with the ssh, scp or sftp command. It will help you avoid MITM attacks, since any SSH-based command will alert you if…

Cyber Security

Answered Mar 25, 2022 · 1.0K Views Read answer →

More members from the SQL Server community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.