Click here to Skip to main content
15,915,324 members
Home / Discussions / Database
   

Database

 
GeneralRe: Server Object - Where to find the Dll ? Pin
Heath Stewart17-Dec-04 1:00
protectorHeath Stewart17-Dec-04 1:00 
QuestionHow to databound listbox with three table relational structure? Pin
Origon15-Dec-04 22:31
Origon15-Dec-04 22:31 
GeneralReporting Service : custom parameter Pin
Member 150632215-Dec-04 5:42
Member 150632215-Dec-04 5:42 
GeneralHelp ! Selective SQL Statement Pin
RDoes15-Dec-04 1:16
RDoes15-Dec-04 1:16 
GeneralRe: Help ! Selective SQL Statement Pin
Michael Potter15-Dec-04 11:12
Michael Potter15-Dec-04 11:12 
GeneralRe: Help ! Selective SQL Statement Pin
Colin Angus Mackay15-Dec-04 12:28
Colin Angus Mackay15-Dec-04 12:28 
GeneralRe: Help ! Selective SQL Statement Pin
RDoes15-Dec-04 22:22
RDoes15-Dec-04 22:22 
GeneralRe: Help ! Selective SQL Statement Pin
Colin Angus Mackay16-Dec-04 2:26
Colin Angus Mackay16-Dec-04 2:26 
RDoes wrote:
Do you use a real table or a table what is only in memory ?

I use a temporary table. i.e. When you create it you prefix the table name with a # and SQL Server puts it in the tempdb. At the end of the stored procedure it automatically drops the table for you.

RDoes wrote:
If you use a real table do you use a table for each user or running procedure ?

All tables are real. But the table is very short lived. You can create a large table if you want (e.g. if you are going to pass the same values several times then there is no point in recreating a table each time)


RDoes wrote:
but as long it is less (for me its meaning that I can max lookup approx 50 records)
then it works fine for me.


If you need more than 50 records (assuming that is the max you can do with an 8000 char parameter can handle) then you probably want to populate the table outside the stored procedure. In which case you may with to have a permanent table and add an extra column to prevent clashes between various users running procedures with the table at the same time.


RDoes wrote:
The currently App I am writing does not have sensitive data so I am not worry about the
SQL Attack injection


If I told you that through a SQL Injection attack it is possible to attack more than just SQL Server would you reconsider? For example I could use a SQL Injection attack to format the disk, or break out in to other parts of the operating system. It is even possible to compromise machines remote to the SQL Server if they are all within a trusted network.


Do you want to know more?
WDevs.com - Member's Software Directories, Blogs, FTP, Mail and Forums


GeneralRe: Help ! Selective SQL Statement Pin
RDoes20-Dec-04 1:53
RDoes20-Dec-04 1:53 
GeneralRe: Help ! Selective SQL Statement Pin
Colin Angus Mackay20-Dec-04 2:19
Colin Angus Mackay20-Dec-04 2:19 
GeneralRe: Help ! Selective SQL Statement Pin
Jon Hulatt16-Dec-04 0:40
Jon Hulatt16-Dec-04 0:40 
GeneralRe: Help ! Selective SQL Statement Pin
RDoes16-Dec-04 0:52
RDoes16-Dec-04 0:52 
GeneralRe: Help ! Selective SQL Statement Pin
Michael Potter16-Dec-04 6:09
Michael Potter16-Dec-04 6:09 
GeneralRe: Help ! Selective SQL Statement Pin
Jon Hulatt16-Dec-04 22:26
Jon Hulatt16-Dec-04 22:26 
QuestionEmbedded SQL precompiler for C#? Pin
cellod14-Dec-04 12:05
cellod14-Dec-04 12:05 
GeneralLocal SQL server name Pin
RoyceF13-Dec-04 11:59
RoyceF13-Dec-04 11:59 
GeneralRe: Local SQL server name Pin
Colin Angus Mackay13-Dec-04 12:20
Colin Angus Mackay13-Dec-04 12:20 
GeneralRe: Local SQL server name Pin
RoyceF13-Dec-04 12:45
RoyceF13-Dec-04 12:45 
GeneralRe: Local SQL server name Pin
Irsh15-Dec-04 0:02
Irsh15-Dec-04 0:02 
GeneralRe: Local SQL server name Pin
RoyceF15-Dec-04 5:47
RoyceF15-Dec-04 5:47 
GeneralRe: Local SQL server name Pin
Veera Raghavendra16-Dec-04 17:23
Veera Raghavendra16-Dec-04 17:23 
GeneralRe: Using DATEFIRST in a View - I want the week to start on Monday instead of Sunday. Pin
tojamismis13-Dec-04 6:52
tojamismis13-Dec-04 6:52 
GeneralUsing DATEFIRST in a View - I want the week to start on Monday instead of Sunday. Pin
Tony Manhollan13-Dec-04 6:11
Tony Manhollan13-Dec-04 6:11 
GeneralRe: Using DATEFIRST in a View - I want the week to start on Monday instead of Sunday. Pin
tojamismis13-Dec-04 6:48
tojamismis13-Dec-04 6:48 
GeneralLines of Invoice Pin
ruifernandes2412-Dec-04 11:13
ruifernandes2412-Dec-04 11:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.