Questions tagged [aliases]

169 questions
0
votes
2 answers

Static ressources: where define context aliases with tomcat

I am looking for a way to access static resources (e.g. video files) from my web app JEE. In my local environment, I added an aliases attribute in the context of my webapp under the config of my tomcat server in Eclipse. This works verywell. Doing…
Adrien
  • 3
  • 4
0
votes
3 answers

How to efficiently code a query in mysql to AND tags?

I have a common problem to be sure. I'd like to make a query that finds an entity that has "n" tags. So in the simplest case, we find all the entities that have the tag "hey". In a more complex case, we find all the entities that have all the tags…
egervari
  • 22,372
  • 32
  • 121
  • 175
0
votes
1 answer

Teradata: use of aliases impacts EXPLAIN estimation of time

I have a relative simple query SELECT , db1.something , COALESCE(db2.something_else, 'NA') AS something2 FROM dwh.db_1 AS db1 LEFT JOIN dwh.db_2 AS db2 ON db1.some_id = db2 = some_id EXPLAIN gives an estimated time of something more than 15…
NoIdeaHowToFixThis
  • 4,484
  • 2
  • 34
  • 69
0
votes
1 answer

Editing URL's on Drupal for a VIEW

I want edit path alias for a view, I know how to edit regular content pages admin>config>URL aliases>add aliases However for a view that's pulling in products for example is there a different approach here? I've tried adding the exact path which has…
0
votes
1 answer

SQL Server queries to table which name matches the command name

SELECT role.name, role_privelege.privelege FROM role JOIN role ON role.id = role_privelege.id breaks with an error: [Error Code: 1013, SQL State: S0001] The objects "role" and "role" in the FROM clause have the same exposed names. Use…
Vladimir Kolenov
  • 438
  • 1
  • 4
  • 14
0
votes
1 answer

git alias taking all given arguments

What I've been trying to do is make a git alias so that git heroku Fix that bug will run: git add . git commit -m "Fix that bug" git push heroku master This is what I've tried so far: heroku = "!f() { git add .; git commit -m \"$@\"; git push…
Chris
  • 140
  • 9
0
votes
1 answer

Select multiple columns from one alias

In my schema, there are two tables with the same column names (Changing them is not an option) Performing a query with select * from tabA join tabB results in a mysql error of 'Duplicate column name col' The only solution to this is to select using…
kr094
  • 139
  • 3
  • 13
0
votes
1 answer

Multiple SQL Aliases In Single Query MySQL

I have the following query in mysql, and was wondering how I could insert multiple aliases at the same time, any help would be great! mysql> SELECT emp_no,ROUND( AVG(salary), 2),DATE_FORMAT(NOW(),'%m-%d-%Y') AS Today FROM salaries GROUP BY…
adm
  • 5
  • 1
0
votes
1 answer

Alias error in VBS

How to use alias in VBScript? I am trying following code: AliasesExample Sub AliasesExample Dim AliasObj ' Obtains the object that corresponds to the Notepad main window Set AliasObj = Aliases.notepad.wndNotepad ' Checks whether the…
RedLeo
  • 127
  • 3
  • 10
0
votes
1 answer

aliases (sendmail) to redirect emails

I have read that "aliases" (etc/aliases) can be used to redirect an email to an external email address (or piping it to a script etc.) It should normally work by putting this command in the "aliases" file: support: myemail@hotmail.com Afterwards you…
0
votes
1 answer

Prevent the user from changing their e-mail aliases

Does anyone know how the "Citadel e-mail server" prevents the user can define their e-mail aliases yourself? I've already read the FAQ, but unfortunately I have not found anything.
Sebastian
  • 23
  • 2
0
votes
1 answer

google analytics multi domain aliases web

i have multidomain web site, but i'm not sure, if i'm tracking it in good way. Primary domain: www.domain.com Domain aliases: www.domain.sk, www.domain.cz (each show content from .COM but in other languages) I created in analytics new profile for…
general666
  • 1,001
  • 2
  • 16
  • 31
0
votes
1 answer

How to filter for rows with NOT NULLS in 2 columns

I've been struggling with filtering to display only rows that have do not have NULLS in 2 columns. I only want results for clients (rows) who have a value in both Disability 1 and Disability 2. Do not want to display clients (rows) who have a…
0
votes
1 answer

Create Alias on my Mac to Run KeePass File

I've installed KeePass2.23 on my mac. It is in my home directory ~KeePass-2.23/. I'd like to create an alias to run this program. Is this do-able? The steps I use to run KeePass now are: johns-MacBook-Pro:~ johndcowan$ cd…
John Cowan
  • 1,452
  • 5
  • 25
  • 39
0
votes
2 answers

SQL multiple aliases alongside query

I'm currently working on a query which pulls out all the items from a trolley that a user has added. The below code demonstrates what I am trying to achieve, where I take all the trolley items and total the quantity up, aswell as multiplying the…
Banny
  • 811
  • 4
  • 13
  • 36