Viewing 15 posts - 7,306 through 7,320 (of 15,381 total)
Lowell (8/2/2013)
this is probably the simplest:
SELECT
name,
...
August 2, 2013 at 9:34 am
As Fall approaches, and with it cooler temperatures, I plan to cut back into my sawdust therapy. I spend many evenings and weekends in shop. It is very soothing and...
August 2, 2013 at 9:31 am
sundar329 (8/2/2013)
is it possible with some triggers
Why do you want triggers for this? What objects would you put the triggers on? If you want to restrict access by user the...
August 2, 2013 at 8:40 am
You're welcome. Glad that will work for you.
August 2, 2013 at 8:18 am
sundar329 (8/2/2013)
Hi friends,Is there a way to restrict linked server access for a particular login in sql server 2008r2.
Thanks in advance.
What do you mean by restrict the access?
August 2, 2013 at 7:54 am
Duplicate post. Direct replies here. http://www.sqlservercentral.com/Forums/Topic1480403-392-1.aspx
August 2, 2013 at 7:53 am
Something this is probably what you are looking for.
select Identifier, Race, PrimaryLanguage, PreferredLanguage, MAX(Ethnicity) as Ethnicity, MAX(Ethnicity2) as Ethnicity2, MAX(Ethnicity3) as Ethnicity3
from TEST
--where identifier = 100276
group by Identifier, Race, PrimaryLanguage,...
August 2, 2013 at 7:47 am
Jeff Moden (8/1/2013)
Durai Samuel (8/1/2013)
Please check if this link helpshttp://www.dotnetbites.com/find-user-modified-table-stored-procedure
That's got some serious errors in it. Although it happens frequently, no result set is guaranteed to be in the...
August 2, 2013 at 7:33 am
harsimranjeetsinghwasson (8/2/2013)
Is there any catalog view for finding reference objects in other database or same but is written in dynamic query in view/store procedure/function.
I found some like syscomments,sys.all_sql_modules,sys.sql_modules but is...
August 2, 2013 at 7:30 am
Thanks for posting ddl and sample data. You posted a query which seems to have nothing to do with the sample table you posted? Also the table you posted doesn't...
August 2, 2013 at 7:16 am
Donnie Carvajal (8/1/2013)
The full database statistics updates have...
August 1, 2013 at 3:49 pm
Here are two examples of how you could do that.
--method #1
with MyAddresses as
(
select a.name, b.address, ROW_NUMBER() over (partition by a.name order by (select null)) as RowNum
from a left outer join...
August 1, 2013 at 3:37 pm
ScottPletcher (8/1/2013)
Luis Cazares (8/1/2013)
http://www.sqlservercentral.com/articles/T-SQL/88244/
SELECT AttribID
FROM MyTable
WHERE FormatID IN (12,15)
GROUP BY AttribID
HAVING COUNT(DISTINCT FormatID ) = 2
EXCEPT
...
August 1, 2013 at 3:32 pm
riya_dave (8/1/2013)
example if primarycondition = 'HF'
then update table a
set secondary condtion = null
if there is no primary condition = 'HF'
then
if primarycondition...
August 1, 2013 at 3:24 pm
DISTINCT?
GROUP BY?
It is kind of hard to say without more details about what your actual query looks like.
August 1, 2013 at 3:12 pm
Viewing 15 posts - 7,306 through 7,320 (of 15,381 total)