in Search
     

Browse Site by Tags

Showing related tags and posts accross the entire site.
All Tags » Stored Procedures (RSS)
  • SQL Audit Trail

    I was asked by a friend of mine on how to create a trigger that would trace the changes that a user did to a table. So i checked my bookmarks and give him this link http://www.nigelrivett.net/SQLTriggers/Triggers_2_Creating_Audit_Trails.html Hope to Get some of your opinions or maybe improvements on...
    Posted to Weblog by Comgen on 09-12-2008
  • SqlServer: Return Random Records in T-Sql, the GUID way.

    In one of the website I have developed, we feature random products displayed on a webpart. This can be done several ways either of the code behind or via t-sql but I think the simplest way to do it is via t-sql with the help of Guid columns. Globally Unique Identifier or GUID is a randomly generated...
    Posted to Weblog by dehran ph on 06-20-2007
  • Stored Procedure Generator

    Here's a tool that im using for some of my projects. What it does is it Automate the Generation of Stored Procedures for Your Database. You just have to execute a querry like this EXEC pr__SYS_MakeUpdateRecordProc 'Order_Details', 1 and it will automatically generate a stored procedure for the table...
    Posted to Weblog by Comgen on 03-11-2007
  • Truncating an SQL Server Log File

    During my last post try to query the actual size of the logfile, and today i'm going to share a script i found months ago at the microsoft site. I cant find the original link.... Notes: Be sure that you have a backup of your database so that if something goes wrong you have something to get back into...
    Posted to Weblog by Comgen on 03-09-2007
  • .NET: Advanced Data Paging with Sorting In SqlServer 2005

    dwarvend, a former teammate in my frist company once asked me about data paging large resulsets in ASP.NET. Data paging in SQL Server 2005 is relatively easy with new RowNumber feature but supporting dynamic sorting is little tricky. I have this executable to script to demonstrate this sorting. --check...
    Posted to Weblog by dehran ph on 01-15-2007
  • Revisiting @@IDENTITY AND SCOPE_IDENTITY()

    I previously posted my views regarding @@IDENTITY variable and SCOPE_IDENTITY() functions in sql server here and luckily with the single stored procedure in our project using NHibernate, i was able to revisit some of its definitions. My teammate whom i asked help from in developing the said stored procedure...
    Posted to Weblog by jokiz on 11-14-2006
  • Stored Procedure Debugging

    i previously have an experience on debugging stored procedures especially those that involve dynamic sql generation and execution. my experience told me that debugging stored procedure of this type is better with visual studio compared to query analyzer. i encountered a problem with query analyzer before...
    Posted to Weblog by jokiz on 11-14-2006
  • L10N: Autosize property of labels on windows forms

    Lately, I was wondering why the Autosize property of label on windows forms is set to true, this is annoying and tiring if you love using windows forms designer(yucks! kidding ), because you often want a properly aligned controls and fixed with labels on data entry textboxes.But not until i want to loicalize...
    Posted to Weblog by dehran ph on 11-07-2006
  • L10N: The world is flat, start localization on your database

    When you are developing software product to be catered to diverse customers, it must be a standard to localized your software. With .NET this has never been easy, on .NET 2.0 its even easier with striongly typed resource files. But localizing application must be part of the architectture and should not...
    Posted to Weblog by dehran ph on 11-07-2006
  • HowTo: Use SqlParameters to pass parameters to queries and stored procedures

    [code language="C#"] using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; namespace SqlParametersDemo { class Program { static string connectionString = "server=local;database=yourdatabase;userid=youruserid;password=yourpassword;";...
    Posted to Weblog by keithrull on 06-18-2006
Page 1 of 2 (12 items) 1 2 Next >