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
Strange fast and slow execution times16 Jul 2008 14:53 GMT3
Running a particula stored procedure against a SQL2000 database within a
SSMS2005 query window  using identical parameter values it will sometimes
run in 17 seconds and at other times runs in 47 seconds. What should I look
into for the cause.
Numbering rows leader-board style16 Jul 2008 14:24 GMT16
I'm wanting to get a ordered table of players and their scores, in
descending order, with a a leaderboard style row-numbering (so of two people
had the same score they would both be position 3, and the next would be
position 5). I've managed to find a way using a side-effect of ...
temp tables : to index or not to index16 Jul 2008 12:35 GMT11
I've heard that a good rule of thumb for table vars vs temp tables is if you
might be working with 10,000 or more rows go with a temp table, otherwise a
table var.
So, assuming working with a temp table of 10,000 rows , should indexes be
Writing SQL data out to a text file16 Jul 2008 08:30 GMT5
I am looking a stored procedure that writes SQL data out to a text file from
a stored procedure. The existing code is doing this:
------------------------------
Some code to create #QSBonuses and fill it with data
How do I Return Result of Case as Decimal16 Jul 2008 05:56 GMT2
How do I return the following as a Decimal 10.2
    Sum(Balance) asBal,
     Case
     WHEN Sum(Balance) = 0 and  Sum(PER) = 0 THEN
Mimicking Access Cross tab query16 Jul 2008 01:50 GMT8
I recently came across the PIVOT sql syntax. Less typing than select
case.
Access has a crosstab query to turn values that appear in rows as
columns. this has the advantage over SQL in that you don't need to
Finding Unique Indexes16 Jul 2008 01:47 GMT3
Anyone have a query to find all the unique indexes in a given database?
Thanks,
Mark
Copying whole field of data from a table to other table16 Jul 2008 01:46 GMT5
I was struggling for this one for a while.
It could be very easy one, but I cannot seem to get it as I get an error.
1.Here is a task
I have a table A which contains Acct# & a blank Contact field.
Tough SQL. EXCACT DUPLICATES IN DETAIL RECORDS16 Jul 2008 00:39 GMT34
Here it goes.
I use an ordinary ORDERS database, that we all know the tables that are
normally contained in it :
CUSTOMERS (C_ID, C_NAME, ...)
Query Results Using Database Mail15 Jul 2008 22:06 GMT3
Is there an easy way to email the results of a query using sp_send_dbmail? I
can always use a cursor and build a string for the email body, but I was
hoping there would be a better way.
Trigger when connection ended15 Jul 2008 21:46 GMT7
I would like to operate a v.simple locking mechanism. Have a
hierachical db structure everything hangs of customer table. So when
someone is editing a customer do not want anyone to be able to edit
the same customer.
URGENT - How to get the query request history15 Jul 2008 21:12 GMT1
We are trying to trouble shoot a problem and we are not sure what is
the queries that the application sending to my sql server. is there a
way to audit the queries executed by SQL Server?
Thanks
Unique Queery15 Jul 2008 20:57 GMT4
I have a temp table #Output with one column OrderId int. I add some
OrderId's to this table based on some criteria.
I have another table called OrderLineItem with OrderId, Event. I have
a variable called @events which corresponds to the maximum number of
Cleaning varchar 50 fields15 Jul 2008 19:58 GMT2
I have a varchar 50 field that contains periods and underscores.  I want to
return only the alphanumeric characters.  Unfortunately, the periods and
underscores do not always appear in the same position.  I worte a public
function is Access that does this:
Sql Server 200x Stress Tools?15 Jul 2008 19:37 GMT6
I currently have Sql Server 2005 Standard Edition.
I have a few legacy Sql Server 2000 Standard Edition databases as well.
..
I have implemented the Sql Server 2005 Performance Dashboard Reports as
 
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.