Viewing 15 posts - 10,696 through 10,710 (of 15,381 total)
ByronOne (9/17/2012)
September 17, 2012 at 1:28 pm
Well you can build dynamic sql so that is uses parameters to help prevent sql injection but given the nature of what you are doing I think you will find...
September 17, 2012 at 1:27 pm
Yeap this is wide open to sql injection. Consider passing in "SomeRealTableName; drop table SomeRealTableName; --". You will be far better off creating a different update sproc for each table....
September 17, 2012 at 1:15 pm
Probably easiest at this point to just uninstall and start over.
September 17, 2012 at 1:00 pm
TecheeGirl (9/17/2012)
I have an application that is passing in 2 parameters, a string with column names and a string with values
I parse out...
September 17, 2012 at 12:47 pm
Can you post the ddl for the tables involved, including all constraints and indexes? Take a look at the first link in my signature for best practices when posting questions.
September 17, 2012 at 12:40 pm
Please see Gail's post about how to post performance problems here. http://www.sqlservercentral.com/articles/SQLServerCentral/66909/%5B/url%5D
I would make two recommendations about your query. First you should NEVER use select * in a production environment....
September 17, 2012 at 12:34 pm
sqlrd22 (9/17/2012)
September 17, 2012 at 10:16 am
Take a look at this. http://www.sqlservercentral.com/articles/T-SQL/71550/%5B/url%5D
September 17, 2012 at 9:44 am
rburko (9/17/2012)
I have a number of rows that look something like this:
reckey ...
September 17, 2012 at 9:35 am
Yep my crystal ball is still out for repairs. We can't see your screen and our ability at mind reading is hindered greatly by reality. There is nothing like posting...
September 17, 2012 at 8:07 am
balajisrm (9/17/2012)
Kindly check the recently deployed codes (Stored Procedures, Patches) for...
September 17, 2012 at 8:03 am
tim_harkin (9/17/2012)
Is...
September 17, 2012 at 7:58 am
jamessdba (9/17/2012)
Hi all,WE HAVE ESTABLISHED LINKS SERVER BETWEEN TWO SQL SERVERS 2005
IS IT POSSIBLE TO ADD COLUMN OR FIELDS IN LINKED SERVER
PLEASE REPLY
Can you turn down the volume a little?
I...
September 17, 2012 at 7:55 am
ByronOne (9/17/2012)
Thanks for getting back to me and I hope you'll be able to help.
Ok, here is the DDL you were looking for:
IF OBJECT_ID('TempDB..#MyTable') IS NOT NULL ...
September 17, 2012 at 7:35 am
Viewing 15 posts - 10,696 through 10,710 (of 15,381 total)