Viewing 15 posts - 1 through 15 (of 23 total)
The database forms the foundation of most applications. For this reason, your primary goals in creating a good database model or design must be to achieve data integrity, scalability, and...
August 4, 2008 at 12:11 pm
Consider CLR when a procedure requires significant data access and computation. You would then separate the procedural code into a CLR portion calling the T-SQL procedure that performs data access,...
June 11, 2008 at 7:00 am
Are you binding your grid to the data source each time you call you sp? For example:
mysource=GetClientDetails(I'm calling my sp_GetClientDetails here...)
mydatagrid.DataSource=mysource
mydatagrid.DataBind()
February 25, 2008 at 9:39 am
If your data grid is bound to your dataset and you use the form's Load event to populate it then all you need to do is make the grid editable...
February 25, 2008 at 7:31 am
An easier approach would be to allow null values into your table and then check the data once they all imported successfully.
April 30, 2007 at 6:28 am
Make sure that ASPNET or the Windows account that IIS is using has been granted permission to access your database.
April 24, 2007 at 6:27 am
Run DBCC SHOWCONTIG WITH ALL_INDEXES. I bet that table is heavily fragmented.
April 4, 2007 at 6:52 am
You can create your own error message with RAISEERROR provided the message
number is greater than 50,000 and severity levels from 0 through 18as in:
USE master
EXEC sp_addmessage 50001,...
April 2, 2007 at 8:29 am
I also needed something similar. All I did is to schedule a job that runs periodically that will get a count(*) of sysdatabases and compare it against the current count. An email...
March 23, 2007 at 6:42 am
Have you thought about creating a Windows group? Give this group access to selected objects like views or tables then add the users to this group.
March 20, 2007 at 7:16 am
It is possible if your datasets call SPs that accept user selections as parameters.
December 28, 2006 at 7:01 am
One way of doing it is to create a stored procedure similar to what I did below that monitors the table. I will then create a job that calls the...
November 10, 2006 at 7:48 am
It might be easier to delete the existing tables and re-import unless each row is uniquely identified. If the latter is the case, then I would import the tables into another...
October 2, 2006 at 6:38 am
One way of doing it is by writing a stored procedure similar to what I did below. I will then create a job that calls the stored procedure...
September 14, 2006 at 8:52 am
Here's how I would do it in VB6:
Dim strParam1 As String, intParam2 As Integer
strParam1 = ""
intParam2 = 7
Dim prm As ADODB.Parameter
Dim pCmd As ADODB.Command
Set pCmd = New ADODB.Command
With pCmd
.ActiveConnection =...
July 28, 2006 at 11:28 am
Viewing 15 posts - 1 through 15 (of 23 total)