Viewing 15 posts - 39,586 through 39,600 (of 59,072 total)
The other thing to consider is that not all dynamic SQL receives paramaters from the outside world. Such dynamic SQL needs virtually no protection.
As a side bar... let's see...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 10:11 pm
RBarryYoung (2/26/2010)
Jeff Moden (2/26/2010)
Welsh Corgi (2/26/2010)
There are many reasons to avoid this. If you...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 9:53 pm
Welsh Corgi (2/26/2010)
well taken. I appreciate critisism but when you present a problem you should provide a solution...
I'm good at using...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 9:51 pm
The problem is that you're trying to return too much data at the very beginning. The only thing you should initially be concerned with for paging is getting the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 9:45 pm
Welsh Corgi (2/26/2010)
There are many ways to exploit Dynamic SQL and this is well documented.
In my humble;e opinion you have to take steps to minimize...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 9:25 pm
kyounger (2/26/2010)
Basically, I could put any INSERT, UPDATE, SELECT, etc. query, and it...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 9:18 pm
Alex 469216 (2/26/2010)
More over, what should I do if I need to consolidate more tables in the future?
You could insert your top 20 ActiveDirectory records into a temp table
and UNION...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 9:12 pm
iqtedar (2/26/2010)
thanks everyone ...i know i cant have two dbs with same name under same instance...i was looking is there a way setup some alias..or something else..
Synonyms, pass through views,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 9:10 pm
sanketahir1985 (2/23/2010)
i want O\P in foll. format
dbdate dbname datasize_MB
====== ======== ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 9:01 pm
Trybbe (2/26/2010)
Staffno name position posid headcount period
123 john developer ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 8:57 pm
thummalalavanya (2/26/2010)
i want to insert bulk data in one field in a table without using txt file directly using insert statement .plese reply me.
OPENROWSET or text based linked server....
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 8:53 pm
I just have to ask this question... what's so wrong with India that all the techies want to bail out of it? I'm not trying to be a smart...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 8:51 pm
Welsh Corgi (2/26/2010)
There are many reasons to avoid this. If you want SQL Injection...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 8:49 pm
lmu92 (2/26/2010)
A common way to resolve this issue is the usage of FOR XML PATH.
Something like
SELECT [EnrolleeID],
STUFF(
(SELECT '-' +...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 8:37 pm
ChrisM@home (2/26/2010)
DROP TABLE #Sampler
DECLARE @TableSize INT, @SampleSize INT
SET @TableSize = 1200000
SET @SampleSize = @TableSize/10 -- 10%
SELECT TOP(@SampleSize) SampleID = ABS(CHECKSUM(NEWID()))%@TableSize
INTO...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 26, 2010 at 8:35 pm
Viewing 15 posts - 39,586 through 39,600 (of 59,072 total)