Viewing 15 posts - 11,236 through 11,250 (of 15,376 total)
Ajdba (7/24/2012)
Sorry, I meant to say I need to know how can prevent from sql injection
I agree 100% with Chris. The easiest way to prevent sql injection in this is...
July 24, 2012 at 8:31 am
There are a couple of issue with this code. First is nonSARGable. You are doing date conversion functions in your where clause so you will be stuck with index scans.
Something...
July 24, 2012 at 8:03 am
This sounds a job for SSIS. No sql script is going to be very efficient at doing that sort of thing.
Here is one of thousands of places to get started....
July 24, 2012 at 7:49 am
raghuldrag (7/24/2012)
prev_colsing_bal =(
...
July 24, 2012 at 7:29 am
I think you should take a look at this article. http://www.sqlservercentral.com/articles/T-SQL/71550/%5B/url%5D
It seems to be exactly what you are looking for.
July 23, 2012 at 3:21 pm
seshu2all (7/23/2012)
From MSDN, what i could see is to grant permissions to all the views & functions separately. So, your query would help me generating a batch to execute...
July 23, 2012 at 2:53 pm
Jan Van der Eecken (7/23/2012)
surely you meant
declare @MyTest int = 436
select * from Tally where N < @MyTest
select * from Tally where @MyTest > N --identical but makes me...
July 23, 2012 at 2:37 pm
If you want some help you have to help us. Please provide enough information to give someone a chance at answering. We don't have ddl, sample data, desired output or...
July 23, 2012 at 2:14 pm
To add to Capn's response, the following script can be tweaked to generate the sql you need.
declare @login VARCHAR(30) = 'UserID'
SELECT 'Grant View Definition ON ' + schema_name(schema_id) + '.'...
July 23, 2012 at 2:12 pm
sivag (7/23/2012)
plz tel me what are the requirement u need from me
We don't even know what the question is yet. You talk about making 1 table into 5. We don't...
July 23, 2012 at 1:41 pm
weston_086 (7/23/2012)
July 23, 2012 at 1:35 pm
Is this a blog post or a request for help?
Your splitter is not the most optimal. Take a look at the link in my signature for splitting strings.
That aside...
July 23, 2012 at 12:59 pm
Not sure about Lynn but my crystal ball is still broken. We can't see your screen, we have no idea how you want to map these columns, we still don't...
July 23, 2012 at 11:59 am
Duplicate post. Please direct all replies here. http://www.sqlservercentral.com/Forums/Topic1333964-150-1.aspx
July 23, 2012 at 11:39 am
Viewing 15 posts - 11,236 through 11,250 (of 15,376 total)