Anyone know how to grant user access to a sequence object in a physical model?
Basically want the exported DDL to include
GRANT USAGE ON SEQUENCE tablename TO username
I know how to do it for tables and views.
Any help would be appreciated.
thanks.
what is the best way to compare a constant such as '07-21-2004' to a datetime column
I want something like the following
select * from tableA where myDateCol = '07-21-2004'
if myDateCol has a value of '07-21-2004 10:15:00' the row should be selected. I want the query to ignore the time portion.
I have a need to join a table to itself. I need to determine if for a given deal number the swap deal number does not exist on the table. Here is my query thus far, but it is really dogging. Is there a better approach ??
select a.counter_ccy,
a.value_date...
I have 2 Tables: SeasonPlayer and GamePlayerStats.
I want to retrieve all of the info from SeasonPlayer and if their is matching info on GamePlayerStats(for a particular game) retrieve that also.
I think this is the correct query, but I keep getting "Join Expression Not Supported"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.