Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

(Page 5 of 6) 171 Result(s) found 

 

Get all user tables with size
Total Hit (1551) Returns User Tables by SIZE in DESCENDING ORDER Add TOP n clause in SELECT to get selective results (i.e. TOP 10 TABLES)
Rating
How to capture DBCC output into SQL Table?
Total Hit (1685)
Rating
Display every Nth record.
Total Hit (1491)
Rating
Generate sequencial number for your resultset.
Total Hit (1387)
Rating
Complex grouping problem. How to group records by minimum of field1 , minimum of field2 and maximum of field3 ...
Total Hit (1499) In this example we assume that we have 3 hotels and their codes are AIR, PID, ZLM. For each property we have multiple rates for each week and this rate should be picked up on the basis of sellorder -> seasonlength -> rate . We have multiple seasonnumber for each week but only one season rate should ....Read More
Rating
Working with Computed column in SQL Server 2000
Total Hit (1542) There are restriction for ALTER COLUMN, documented in Books Online (see end of this post). Depending on your particular situation, you need to DROP INDEX, ALTER TABLE... DROP CONSTRAINT etc. The altered column cannot be: a) A column with a text, image, ntext, or timestamp data type. ....Read More
Rating
This is a link to a different site Introduction to SQL : Sample chapter from Beginning SQL Programming
Total Hit (694) This introductory chapter covers topics that students usually ask in the first hour of classes; essentially, just what do we mean by SQL? We start by explaining what SQL is and also what it is not, and we provide a brief overview of the history of the language. We'll also clarify some confusing term ....Read More
Rating
This is a link to a different site Dynamic ORDER BY Statements in Stored Procedures
Total Hit (1646) When creating data-driven Web applications, it is ideal to place the actual SQL statements into stored procedures, and to have the Web pages, then, call the appropriate stored procedures rather than executing the SQL statements themselves. (If you are unfamiliar with what stored procedures are, or t ....Read More
Rating
This is a link to a different site Summarizing Data with ROLLUP
Total Hit (629) Oftentimes, when building Web-based reporting tools we need to show totals and sub-totals for information stored in the database. For example, imagine that you worked at an eCommerce site like Amazon.com that sold products from a variety of categories: books, electronics, clothes, etc. Managers woul ....Read More
Rating
This is a link to a different site How Can I Generate a Series of Random Integers With T-SQL?
Total Hit (699) Here is a stored procedure that will generate a series of random numbers and return them in a result set.
Rating
This is a link to a different site How do I use the new table variables in SQL Server 2000?
Total Hit (694) Table variables did not work for me until I started using an alias for the table variable when I had to qualify column names of a table variable.
Rating
This is a link to a different site How Can I Obtain "Rows Affected" by Execution of a Dynamic SQL Statement?
Total Hit (733) When a SQL statement is executed using the Execute command, it is not possible to obtain the rows affected count. At least I've not been able to find a way to obtain this value.
Rating
This is a link to a different site JOIN Fundamentals
Total Hit (695) Very often we need to pull data from 2 or more sources (tables or views) and combined them into 1 logical unit. There is often a bit of confusion on when and how to use them. I will first describe each JOIN type and how it works with the 2 tables involved. The major JOIN types are color cod ....Read More
Rating
This is a link to a different site Getting the Wrong Identity in Microsoft SQL Server identity Columns?
Total Hit (571) An Identity column is used in SQL server to create a surrogate key value for a table. This will be a unique identifier usually in sequential order. Starting at some predefined number, the Identity column increments every time a new record is added to the table. For MS Access users, this is comparabl ....Read More
Rating
This is a link to a different site T-SQL Programming Part 5 - Using the CASE Function
Total Hit (559) The CASE function is a very useful T-SQL function. With this function you can replace a column value with a different value based on the original column value. An example of where this function might come in handy is where you have a table that contains a column named SexCode, where 0 stands for fem ....Read More
Rating
This is a link to a different site T-SQL Programming Part 4 - Setting Variables in Calling T-SQL Code While Using sp_executesql
Total Hit (712) Occasionally you need to build dynamic T-SQL that not only requires the T-SQL code to be dynamic, but also requires the dynamic T-SQL to return values from the dynamic code to the calling T-SQL code. There are a number of different ways to write and execute dynamic code. For the purpose of this arti ....Read More
Rating
This is a link to a different site T-SQL Programming Part 3 - Processing Sequentially Through a Set of Records
Total Hit (930) At some point you will have some business logic that will require you to process sequentially through a set of records one record at a time. For example you may have a list of databases, and for each database you may want to build a command that will perform some process against each database. Or yo ....Read More
Rating
This is a link to a different site T-SQL Programming Part 1 - Defining Variables, and IF...ELSE logic
Total Hit (513) This is the first of a series of articles discussing various aspects of T-SQL programming. Whether you are building a stored procedure or writing a small Query Analyzer script you will need to know the basics of T-SQL programming. This first article will discuss defining variables, and using the IF. ....Read More
Rating
This is a link to a different site Examples of how to Calculate Different SQL Server Dates
Total Hit (591) Every now and then, you need to take the current date and calculate some other date. For instance, you might have an application that needs to determine what date is the first day of the month, or need to know the last day of the month. Now most of you probably already know how to separate the date ....Read More
Rating
This is a link to a different site Using SQL Server's CHARINDEX and PATINDEX
Total Hit (1186) If you have written many applications then you probably have run across situations where you need to identify if a specific character or set of characters appears in a string. In this article I will discuss using the CHARINDEX and PATINDEX functions to search text columns and character strings. I wi ....Read More
Rating
This is a link to a different site Creating a SQL Server User Interface with InfoPath
Total Hit (660) When Office 2003 is released about a month from now, some of the versions will contain two new applications OneNote and InfoPath. OneNote is a note taking application that may be interesting to those of you with tablet PCs. InfoPath is an XML based forms creation and entry application that looks ver ....Read More
Rating
This is a link to a different site Sequential Numbering/Counting of Records with SQL Server
Total Hit (669) Microsoft SQL server does not support a method of identifying the row numbers for records stored on disk, although there are a number of different techniques to associate a sequential number with a row. You might want to display a set of records where each record is listed with a generated number th ....Read More
Rating
This is a link to a different site Dealing with MS SQL Tables that contain Duplicate Rows
Total Hit (704) Every so often, you might have to deal with tables that contain duplicate rows. In one case, you might only need to identify the duplicate rows. In other cases, you might need to remove the duplicate rows. This article will show you some different techniques for dealing with duplicate rows. ....Read More
Rating
This is a link to a different site Padding, Rounding, Truncating and Removing Trailing Zeroes
Total Hit (621) In this article, I am going to show you a number of tips for displaying numeric fields as strings. I will show you how to pad zeroes on the left side of numeric numbers, so that each number regardless of the size will be the same length. Also along those same lines below you will find out how to pad ....Read More
Rating
This is a link to a different site Working with SQL Server Date/Time Variables: Part Four - Date Math and Universal Time
Total Hit (2032) This article will be the last in my data/time series, and will discuss the last few date functions I have yet to cover in this series. I will discuss how to use the DATEDIFF and DATEADD functions to perform different date related mathematical calculations. I will also talk about what universal time ....Read More
Rating
This is a link to a different site Working with SQL Server Date/Time Variables: Part Three - Searching for Particular Date Values and Ranges
Total Hit (579) All applications need to retrieve data in SQL Server tables based on DATETIME and/or SMALLDATETIME columns. In your particular application, you may need to select records that were entered on a particular date. On the other hand, you might need to select a set of records that have a DATETIME column ....Read More
Rating
This is a link to a different site Working with SQL Server Date/Time Variables: Part Two - Displaying Dates and Times in Different Formats
Total Hit (1885) In my first article in this series, I discussed different aspects of entering date/time data into SQL Server DATETIME and SMALLDATE columns. This article will expand my discussion of date/time data by exploring how to use different SQL Server functions to display dates and times in different formats ....Read More
Rating
This is a link to a different site Working with SQL Server Date/Time Variables
Total Hit (1908) This is the first article in a series of articles that I will discuss various aspects of working with SQL Server date/time columns. SQL Server has two different date/time columns. They are DATETIME and SMALLDATETIME. This article will define the difference between these two SQL Server date/time data ....Read More
Rating
This is a link to a different site Tame Those Strings! Part 2 - CHARINDEX
Total Hit (721)
Rating
This is a link to a different site Case-Sensitive Comparisons and Sorts on a Case-Insensitive Server
Total Hit (705) Despite the reason(s) you had for setting up your SQL Server case-insensitive, you may occasionally need to do case-sensitive comparisons and sorts. The varbinary data type can accomplish this. Here's a simple table to illustrate:
Rating


(Page 5 of 6) 171 Result(s) found  1 2 3 4 5 6

Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.