Questions tagged [hints]
93 questions
1
vote
1 answer
Pyparsing: How to parse SQL Hints
I am trying to parse the EBNF below (commentated in the code) and I'm struggling to resolve the STRING part of the optional comments.. (written as extra comment in my test string)
from pyparsing import *
# SQL HINT EBNF
'''
{ /*+ hint [ string ]
…

Spencer Attridge
- 67
- 8
1
vote
1 answer
Parameter hint assignment through a function in LMFIT
I want to set the parameter hints for models held in a dictionary. I have created a function which is called for setting the hints. First, a primary model is created and then I want to create different models, identical to the primary, but with…

iasonas
- 895
- 7
- 12
1
vote
2 answers
Trigger auto-complete halfway a word in brackets IDE
Is it possible to trigger autocompletion in Brackets when you're in the middle of the word? When I start a new word it will trigger and show all the possibilities but after a typo and a backspace I lose this list. Is there a way to enable…

Deb
- 1,098
- 10
- 22
1
vote
1 answer
Delphi : Prevent TPageControl Hint from showing on contained items
I have a form with the following components: A TPageControl containing a single TTabSheet, containing a TEdit.
I want a hint "Hello" displayed when I mouse over the pagecontrol tab, and no hint displayed when I mouse over the TEdit.
The PageControl…

Roddy
- 66,617
- 42
- 165
- 277
1
vote
1 answer
Is there a way to dynamically control a table hint without using a dynamic sql query
For example:
CREATE PROCEDURE [dbo].[procGetTable]
(
@SetUPDLOCK BIT,
@RecordId BigInt
)
AS
SELECT *
FROM MYTABLE WITH (CASE WHEN @SetUPDLOCK = 1 THEN 'UPDLOCK' ELSE '' END)
WHERE MYTABLE.RecordId = @RecordId
/* P.S. I Know…

user1626874
- 49
- 7
1
vote
1 answer
using Hint in a hosted variable?
All,
I want to use a hint in a hosted variable; in fact, we need to use a dynamic value of the hint (Hint should be valued at runtime). can we write an sql statement from this:
SELECT /*+ ORDERED INDEX (b, jl_br_balances_n1) USE_NL (j b)
…

Aymanadou
- 1,200
- 1
- 14
- 36
1
vote
1 answer
Beginning Python from Novice to Professional code not working
I got this book to aide my learning, however even though it "covers" python 3, that's just a small section in the back which isn't much help until you are fairly proficient (I imagine) anyway, I'm in chapter 3 working with strings and my code is not…

Muertes
- 11
- 3
1
vote
1 answer
Transact-SQL: Join-Hints - Differences, Performance, Limitations
I want to know the differences between the join hints (MERGE, HASH, LOOP, REMOTE). So, in which situations I should which one and why? How to know which hint I should use?
Are there any pro's or contra's of using the hints?
If I use the correct…

Mik4sa
- 33
- 1
- 6
1
vote
1 answer
Hibernate lazy initialized collection with hint for Oracle DB
I have entity with lazy initialized collection:
SomeEntity someEntity = template.findByNamedQuery("queryName", entityId);
if (someEntity != null) {
Hibernate.initialize(someEntity.getChildCollection());
}
Hibernate generate SQL:
SELECT
…

bary
- 1,699
- 2
- 15
- 24
1
vote
2 answers
Netbeans 6.8 Tree & editor hints not in sync with build
I'm having two nb-projects.
One nb-project(a) has the other nb-project(b) as a library dependancy.
Now both nb projects compile/build fine, but the hints for (a) are out of sync.
This interferes when i want to run/debug saying 'one or more projects…

Houtman
- 2,819
- 2
- 24
- 34
1
vote
0 answers
Configure a DNS Server could not configure root hints
I have a problem with my DNS .. I want set my client computer (win xp) to domain, but domain cannot be contacted, on the details, it said, my DNS is not responding. then I type nslookup on server command prompt, it said, RTO and default server…

muvest
- 11
- 2
1
vote
1 answer
Qt Creator setInputMethodHints not work
my main goal right now is to forbid some chars entering in line edit.I want to forbid (!@#$%^&*()) chars, cause i do use SQL Database and someone can damage my database without filters for this chars.I tried to use setInputMask but in this way i can…

Rado G
- 87
- 1
- 5
- 14
1
vote
2 answers
Android hint dialogs
I would like to present series of pop-ups to the user when he uses the application for the first time. The pop-up will contain help messages (ex. click here to do something, swipe to view...). Once the popup is clicked it will be dismissed,…

user1359575
- 99
- 1
- 3
- 12
0
votes
1 answer
CSS identifier hints in NetBeans 7.1 IDE
I recently made the change from Dreamweaver to NetBeans and noticed this IDE doesn't have anything out-of-the-box to display identifier options for CSS. For example, if I type
list-style:
I would expect a scroll menu to appear with my choices for…

Jared Eitnier
- 7,012
- 12
- 68
- 123
0
votes
2 answers
Register a click except on a certain element
I have a javasccript function that shows or hides "spans" when I click an input to show hints when a user fills out forms:
function prepareInputsForHints() {
var inputs = document.getElementsByTagName("input");
for (var i=0; i

Dragos Vana
- 87
- 5