Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Programming / SQL / July 2008

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Database Engine Tuning Advisor22 Jul 2008 20:21 GMT2
When I use "Database Engine Tuning Advisor" to analyze my stored procedure,
it recommends that I drop all related indexes (that I believe they are
useful) and
add so many statistics.
Procedure to insert into multiple tables22 Jul 2008 20:01 GMT1
    I have 3 tables
solset with columns
       solset_ID and Solset name
Solsubset
Remove word from end of string22 Jul 2008 19:31 GMT2
Using SQL 2000 and 2005 servers
We have a view that pulls the proj_name from the MS Project server.
It sometimes includes .Published at the end of the name.
Is there a way to trim a specific value from the end of the string?
SUM doesnt work22 Jul 2008 19:17 GMT9
I have tried this sql but rows where the "VD" is the same is not summed.
What is the error ?
SELECT (VD.perc * RIGHEDOCUMENTI.TOTNETTORIGA) / 100 AS VALUETOT, VD.VD,
VD.perc, ANAGRAFICAARTICOLI.CODICE, RIGHEDOCUMENTI.NUMERODOC, sum ((VD.perc
Selecting from a table where my unique Key is not their unique key.22 Jul 2008 19:11 GMT2
I've got a list of customers, customer names, ... from another db (I didn't
design it).
I want to get a list of all of the customers plus the first customer name.
So if customer 1 appears twice (customer name = 'Fred' and 'John') I want
how to use SUM22 Jul 2008 18:48 GMT2
I'm not sure how I could get a total from multiple results. For example,
this SQL:
SELECT  COUNT(id) AS [Total Dialup Customers]
,rgheader.rg_name AS [Rate Group]
select rowcount per group before value in group = null22 Jul 2008 18:30 GMT5
I need to select the top 3 rows per each group (xID -- order by xID).  No
problem here.  But I need to select the count of rows in each group before a
null value is encountered in the stat column -- ordering by xID
CREATE TABLE #tmp1(rowID int Identity(1,1), xID int, x1 int, stat ...
Need help with a dynamic sql stored procedure22 Jul 2008 18:15 GMT8
This is the final part of my previous post in the morning. I have changed
the stored  procedure quite a bit. The idea is the generate a select
statement where the database needs to be chosen dynamically based on a
parameter 'site' in the procedure. The procedure looks like the ...
Query Suggestions?22 Jul 2008 17:16 GMT3
I have a problem.  I just inherited a program that is full of holes and bugs
and I need to do some patching.  Just to note everyone, I did not set up
this database and I did not code this program, I am stuck with it as is.
That being said,  I have to do some checks on a database to ...
ResultSet Paging and count(*) performance22 Jul 2008 16:52 GMT6
We are using the following query for paging the resultset.
With Cust AS
   ( SELECT CustomerID, CompanyName,
   ROW_NUMBER() OVER (order by CompanyName) as RowNumber
SP performance problem22 Jul 2008 16:40 GMT5
I am having trouble with the performance of one SP.This sp is taking
around 45 Sec to execute and
sometime timing out.. Here is the main code of SP..This SP calls
function to adjust the impression value..
SQL Help - linking tables based on date.22 Jul 2008 16:14 GMT5
I have 2 tables, A and B with a layout similar to the following:
A
PKId  | data
 1     |  aa
Handling stored procedure for multiple databases22 Jul 2008 15:07 GMT11
I am trying to work on a stored procedure that will work with multiple
database. I have a prototype of multiple databases. Those are named as the
following: ts2_aldkm_app, ts2_aldkp_app, ts2_aldkt_app. The middle part of
the database name corresponds to the site name e.g aldkm ...
Generating Primary Keys22 Jul 2008 15:00 GMT8
I have a database that is currently using an int field to hold record
identifiers and acts as both the primary key and key in relationships to
other tables.  Up until now the int field has been satisfactory in
maintaining uniqueness but we are expanding to hold data from many ...
Locks22 Jul 2008 14:53 GMT13
I have some quesation about Locks in the sql 2005.In the application I call
50x delete where I delete from table rows with specific range datetime.Why
this command locks second delete and not run paralel ?
thanx
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.