Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > SQL Server > Miscellaneous


Search:
What's New - What's Hot
Monitor User Connections in SQL Server  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: Dinesh Asanka      Rating:  
Read Reviews | Write Review |  Your Rating: 

Applications typically make connections to the SQL Server databases in large numbers but what if those connections are not successfully closed? How you can monitor them? This short article describes the methods we can use to monitor unclosed connections....

Connection strings for SQL Server Compact Edition  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: Nipun Tomar      Rating:  
Read Reviews | Write Review |  Your Rating: 

SQL Server Compact Edition (SQL CE) is a compact relational database produced by Microsoft for applications that run on mobile devices and desktops. SQL CE targets occasionally-connected applications and applications with an embedded database It includes ADO.NET providers for data access using ADO.NET APIs, and built-in synchronization capabilities, as well as support for LINQ and Entity Framework. SQL CE supports transactions, referential integrity constraints, locking as well as multiple conne...

C H A P T E R 5: Consolidation and Monitoring  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: Microsoft Press      Rating:  
Read Reviews | Write Review |  Your Rating: 

Today's competitive economy dictates that organizations reduce cost and improve agility in their database environments. This means the large percentage of organizations out there running underutilized Microsoft SQL Server installations must take control of their environments in order to experience significant cost savings and increased activity. Thankfully, enhancements in hardware and software technologies have unlocked new opportunities to reduce costs through consolidation. Consolidation redu...

Simple pattern matching technique to improve the search boxes  Version: 0.00     Price: $0.00  
Total Hits: 0  |  Today: 0Author: AlbinAbel      Rating:  
Read Reviews | Write Review |  Your Rating: 

There is no wonder everybody like google search engine and its search box suggestions. An intelligent and friendly search-match suggestion makes it a wonderful user experience. It is very rare we can see a website without a search box. It would be more valuable to discuss something which can improve the search experience....

SQL Server 2005 Security and the Microsoft Developer's Security Resource Kit  Version: 0.00     Price: $0.00  
Total Hits: 4  |  Today: 0Author: Brad McGehee      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Microsoft Developer Security Resource Kit is a single resource that provides security-related development guidance. Its contents include best practices, how-to guides, code samples and sample applications, training, and white papers on security topics. This must-have DVD is available free for a limited time — you pay only a small shipping & handling charge. The resource kit is proof that developing more secure applications is easier than you thought, and with this free offer, there is no bet...

Avoid Transact-SQL's Column Alias Limitations     
Total Hits: 20  |  Today: 0Author: Susan Sales Harkins      Rating:  
Read Reviews | Write Review |  Your Rating: 

You might expect all SQL Server's clauses to support a column alias. As reasonable as that assumption seems, SQL Server can't honor a column alias in that way. If you refer to an aliased column in another clause, SQL Server returns an error—surprise! Figure 1 shows the result of running such a query; SQL Server can't find the aliased column TotalCost. That's not a bug; SQL Server requires the alias—it has to call the column something!...

SQL Server UDF to convert integer date to datetime format     
Total Hits: 97  |  Today: 0Author: Tim Ford      Rating:  
Read Reviews | Write Review |  Your Rating: 

I have an internally-developed metadata repository for the SQL Server instances I administer. One of the metrics I track is based upon Job History success and failure. This information comes directly from the msdb..sysjobhistory table that resides upon each SQL Server instance. The issue is that there are idiosyncrasies with this table when it comes to storing dates and times of job executions. I need to be able to use this information in reports and queries, but these columns are stored in ...

Requesting and researching SQL Server enhancements with Connect     
Total Hits: 145  |  Today: 0Author: Andy Novick      Rating:  
Read Reviews | Write Review |  Your Rating: 

A colleague wanted to know a way to make it easy to write stored procedures that reference objects in a different database when the name of the databases might change. For example, when the code is moved into production. He couldn't find a way and neither could I. What could we do about it? Had we missed some feature in SQL Server? Would a feature to help us out ever be part of SQL Server?...

Calculate Running Totals Using SQL Server CROSS JOINs     
Total Hits: 120  |  Today: 0Author: Divya Agrawal      Rating:  
Read Reviews | Write Review |  Your Rating: 

One challenge you may be faced with is the need to create running totals for query output, whether it be a straight query or for a report. Doing calculations such as this in Excel are pretty straightforward, because each cell can have a different formula. Are there any T-SQL tricks to help on calculating a running total for a fixed amount of rows?...

How To Retrieve Excel Schema Information Using SQL Server Integration Services (SSIS) 2005     
Total Hits: 75  |  Today: 0Author: Ray Barley      Rating:  
Read Reviews | Write Review |  Your Rating: 

We use SSIS to periodically load data into our data warehouse. While much of the data we process is in relational data stores, we do have some Excel spreadsheets that we need to process. In one particular case we load an Excel spreadsheet that is produced by an external application and every month the number of sheets varies and the sheet names are also different. How can we determine the sheet names in our SSIS package and process this variable number of sheets?...

SQL Server Join Examples     
Total Hits: 158  |  Today: 0Author: Edgewood Solutions Engineers      Rating:  
Read Reviews | Write Review |  Your Rating: 

I am new to SQL Server and want to learn about the JOIN options. What are all of the JOIN options in SQL Server? What is the significance of each of the options? I am a little confused on the differences and syntax, can you provide some examples and explanations? Are JOINs only for SELECT statements?...

Writing to an operating system file using the SQL Server SQLCLR     
Total Hits: 79  |  Today: 0Author: Andy Novick      Rating:  
Read Reviews | Write Review |  Your Rating: 

The solution is to create a stored procedure that is implemented in the SQLCLR, which allows writing code in .Net languages and running them within SQL Server. Stored procedures can be written in C#, VB.Net or C++ and the compiler produces an assembly, which is the code compiled into .Net Intermediate Language (IL). The assembly is then loaded into SQL Server and a stored procedure is defined to call one of the static methods in the assembly. When the stored procedure is invoked by a T-SQL EX...

SQL Server Agent Proxies     
Total Hits: 176  |  Today: 0Author: Edgewood Solutions Engineers      Rating:  
Read Reviews | Write Review |  Your Rating: 

With so many security changes in SQL Server 2005, how did the security changes affect SQL Server Agent? I have heard about SQL Server Agent Proxies, but I am not too familiar with them. How do I set them up? What dependencies do they have? What is the security benefit? In SQL Server 2000, a single configuration was available for the SQL Server Agent Proxy account. With SQL Server 2005, now 11 different proxies are available (see #1 below) for each of the SQL Server Agent subsystems....

SQL Server Instance Objects     
Total Hits: 161  |  Today: 0Author: Edgewood Solutions Engineers      Rating:  
Read Reviews | Write Review |  Your Rating: 

When it comes time to review server related information from your SQL Server be sure to know how and where to access the information. With SQL Server 2005 some of the resources have changed and new resources have popped up. This tip outlines core server related information from SQL Server 2000 to 2005. Mapping server information between SQL Server 2000 and 2005 is critical to ensure scripts are working properly when upgrading to SQL Server 2005. Below outlines the common server related objects...

Building a Rule Engine with SQL Server     
Total Hits: 95  |  Today: 0Author: Joshua Greenberg, Ph.D.      Rating:  
Read Reviews | Write Review |  Your Rating: 

The term rule is often used to describe what may more accurately be called a well-formed formula (wff). In many applications, the satisfaction of a wff is necessary to identify the suitability of some action. For example, in a customer relationship management (CRM) application, we may want to suggest one or more products similar to the product currently being purchased. To make our suggestion as attractive as possible, it would be wise to leverage the information we have gathered about this, and...

The SQL Site Map Provider You've Been Waiting For     
Total Hits: 152  |  Today: 0Author: Jeff Prosise      Rating:  
Read Reviews | Write Review |  Your Rating: 

Now that ASP.NET 2.0 is a shipping product, it seems appropriate to revisit an issue that tops the new features wish lists of many developers: a SQL Server™ site map provider.
As you probably know, ASP.NET 2.0 vastly simplifies the process of building data-driven site navigation interfaces. You build a site map, slap a SiteMapDataSource control onto the page, and bind a Menu or TreeView control to the SiteMapDataSource. The SiteMapDataSource uses the default site map provider (typically XmlSi...

SQL-strings considered harmful     
Total Hits: 58  |  Today: 0Author: Fons Sonnemans      Rating:  
Read Reviews | Write Review |  Your Rating: 

Did you know that any malicious user can corrupt your database by injecting harmful SQL strings? To prevent SQL injection, you can use the parameters collections when building SQL strings. However, I developed a more sophisticated method to construct SQL statements from user's input and execute them safely. In this article I describe how to write and execute SQL statements by using objects instead of SQL strings. These objects also address specific SQL statement syntax issues on different RDBMS:...

SQL Server 6.5: Some useful trace flags     
Total Hits: 42  |  Today: 0Author: Alexander Chigrik      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article, I want to tell you what you should know about trace flags, and how you can use some useful trace flags in SQL Server 6.5 for administering and monitoring.

Trace flags are used to temporarily set specific server characteristics or to switch off a particular behavior. You can set trace flags with DBCC TRACEON command or with the
-T option with the sqlservr command-line executable. After activated, trace flag will be in effect until you restart server, or until you deacti...

SQL Server 2005 Express Edition - Part 8 - XCopy Deployment     
Total Hits: 125  |  Today: 0Author: Marcin Policht      Rating:  
Read Reviews | Write Review |  Your Rating: 

In the previous installments of our series dedicated to SQL Server 2005 Express Edition, we have documented its installation and initial configuration process, as well as described some of its basic features. Based on the information we have presented so far, you might be tempted to conclude that this edition is simply a scaled down rendition of its full-fledged counterparts (such as Standard or Enterprise). However, some of its unique characteristics make it a superior choice under certain circ...

A Quick Guide to SQLite and Ruby     
Total Hits: 109  |  Today: 0Author: whytheluckystiff      Rating:  
Read Reviews | Write Review |  Your Rating: 

I spent last night playing with SQLite and am convinced that this is a tool which could prove incredibly useful to coders and a great tool for learners to check out SQL. The problem is that there isn’t enough documentation for Ruby users who want to take advantage of SQLite’s features....


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net