Viewing 15 posts - 4,561 through 4,575 (of 5,588 total)
lmu92 (3/31/2010)
But it's a while back since I've last seen a LMGTFY link...
I still use them... strange how I don't get very many replies to the thread after doing so......
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 31, 2010 at 12:52 pm
DrJogalog (3/31/2010)
If I run this statement after clearing the SQL buffer (DBCC DROPCLEANBUFFERS) etc, it will...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 31, 2010 at 11:55 am
Not being an Access developer, I assume that the Last function returns the last (highest) value for a field? If so, try:
select top 1 "Your Field" from "Your Table" order...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 31, 2010 at 11:49 am
Chris Morris-439714 (3/31/2010)
And started it off with Friend...
Or...'dear' :sick:
Ooh don't...one of those really ticked me off a few weeks ago :blush:
How many times can one use "dear" in a post?...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 31, 2010 at 9:49 am
fish-1021547 (3/31/2010)
but I might get an easier solution when i look at the derived views.
Or you might get an easier, BETTER solution if you were to provide the CREATE TABLE...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 31, 2010 at 9:33 am
GilaMonster (3/30/2010)
Beedle (3/30/2010)
From the sound of it you could probably use Case statements.You can, providing performance is not a major requirement.
If you have three distinct queries that are run, code...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 31, 2010 at 9:27 am
CirquedeSQLeil (3/30/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 8:58 pm
K Cline (3/30/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 7:31 pm
I added this index: CREATE INDEX [IX_tPA_SetAuthoFunc_acFuncAbove] ON dbo.tPA_SetAuthoFunc (acFuncAbove)
I changed the CTE procedure to this:create procedure dbo.pPA_FillUserAuthorLogOn6
@nUserID ...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 5:59 pm
Lynn Pettis (3/30/2010)
Okay, it's getting mighty deep in here. Time to get the hippo to clear out the tent! 😛
I might be getting deep, but after 6 hrs...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 3:18 pm
Paul White NZ (3/30/2010)
Write a similar query to check the database-level (user) permissions.
Use sys.database_permissions and sys.database_principals
select perm.*
from sys.database_permissions perm
...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 2:11 pm
Fellow Threadizens, if I can get you to check out this link about a sql login permission issue that I'm having, I would really appreciate it!
Thanks,
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 12:51 pm
This looks like a HIPAA data feed... I sure hope you sanitized the data before uploading it here.
This should handle what you're trying to do:
-- See how this starts off...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 12:26 pm
Kit G (3/30/2010)
From the search I did on the Internet and various...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 11:42 am
Jeff Moden (3/30/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 30, 2010 at 11:38 am
Viewing 15 posts - 4,561 through 4,575 (of 5,588 total)