Viewing 15 posts - 241 through 255 (of 860 total)
to actually be helpful im going to point you to another link. again from sommarskog.se
http://www.sommarskog.se/dyn-search-2008.html
it addresses variable search conditions in a very well thought out manner.
July 26, 2012 at 1:31 pm
Lynn Pettis (7/26/2012)
Brandie Tarvin (7/26/2012)
WayneS (7/26/2012)
You'll might find this interesting: http://www.sqlperformance.com/2012/07/t-sql-queries/split-stringsVery interesting indeed. Poor Jeff. Poor Tally Tables.
Did you take a close look at how Jeff's split routine was modified?...
July 26, 2012 at 1:14 pm
im getting a little confused, can you post DDL Sample Data and the expected output based on that sample data?? it would really help to have both the input...
July 26, 2012 at 12:49 pm
anthony.green (7/26/2012)
Gone with John's responce as its the simpler to impliment,...
July 26, 2012 at 10:56 am
at my shop we have nightly backups of our database restored to the same server under a different name. if something happens from the time of the last backup...
July 26, 2012 at 10:52 am
vchandm23 (7/25/2012)
@whereSql nvarchar(256)
AS
EXEC('SELECT [fields] FROM WHERE ' + @whereSql)
GO
From stackOverflow website. This is what i was looking for. I am sharing this here...
July 26, 2012 at 8:12 am
morepainot (7/26/2012)
...The reason for the WHILE LOOP is because with CURSOR it is much slower than with WHILE LOOP. ...
I would love to see the tests on that statement. ...
July 26, 2012 at 7:51 am
SQLCrazyCertified (7/24/2012)
capn.hector (7/24/2012)
July 24, 2012 at 7:09 pm
n.heyen (7/24/2012)
I was sort of afraid that was the answer. I can create a db user and grant permissions. That works, I was just hoping there was...
July 24, 2012 at 4:04 pm
For my own curiosity what is this part of the code doing:
select @random = convert(int,(((1) - @currLen) * RandomValue + @currLen))
from dbo.vwRandom;
Im guessing vwRandom is a view but the question...
July 24, 2012 at 3:53 pm
in order to grant permissions to an object the server user must exist as a user in the database (unless when trying the same thing i missed something). the...
July 24, 2012 at 3:34 pm
it depends on how the user selects the columns they want. i would do any actual dynamic query creation with a stored procedure API level and validate any input...
July 24, 2012 at 2:05 pm
bill.schoonmaker (7/24/2012)
DECLARE @TSQL NVARCHAR(2000)
DECLARE @lC INT
CREATE TABLE #TempLog (
...
July 24, 2012 at 11:57 am
Cliff Jones (7/24/2012)
Ray K (7/24/2012)
Ichiro(says the happy Yankee fan this morning!)
Suzuki!
Honda
July 24, 2012 at 9:40 am
The grant command is what you are looking for
http://msdn.microsoft.com/en-us/library/ms187965.aspx
i may look at a custom database role so you do not have to grant every thing to multiple users. only...
July 23, 2012 at 2:07 pm
Viewing 15 posts - 241 through 255 (of 860 total)