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 / April 2008

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
syntax error in where clause?01 May 2008 00:57 GMT12
Ok, why am I getting a syntax error near the = sign in the where clause on
this. BTW, all tables listed are in the from clause:
where case when reference_type='service' then
order.order_num=orditem.order_num
table definition display30 Apr 2008 22:46 GMT1
Is there a way to display a table definition (something like sp_help)
but only with column_name, type and length?  I'd like to be able to see
all three columns in one screen, whereas sp_help makes you scroll to the
right to see them all.  Thanks.
Quarterly report - calculating for each of next four months?30 Apr 2008 21:11 GMT2
RE: Quarterly report - calculating for each of next four months?
As I play with joins and functions to help mold my data.. I'm
thinking
about options.
Getting "Last Transact-SQL Command Batch" for a spid from DMV's30 Apr 2008 21:06 GMT4
declare @text    nvarchar(max),
    @spid    int
select @spid = 178
select @text = text
ISOLATION LEVEL READ UNCOMMITTED30 Apr 2008 20:43 GMT1
Using sql 2000
I have a Stored Procedure that has very big queries joining on different
Databases.
When using
SQL Server 2000 'SELECT' transaction blocking itself30 Apr 2008 20:35 GMT1
I'm running the query 'select * from table' in Query Analyzer, and when I
execute 'sp_who' it shows that it's blocking itself.  How do I troubleshoot
this?
Simple Query Question30 Apr 2008 20:17 GMT9
I'm sure there's a simple solution for this. Essentially, I want to query a
table for a specific combination of data and return a single row back if the
condition is met. Other than using views or subqueries, I'm not seeing it.
Example:
Does the unique constraint design come from the days of CELKO?30 Apr 2008 19:58 GMT74
i've been using SQL Server for ten years. A few months ago i thought i
finally ran into a case where i needed the constraint behaviour of SQL
Server. i turned to my colleagues and said,  "You'll never believe it. i
actually have case where SQL Sever's handling of a unique ...
KILL <TransactionID>?30 Apr 2008 19:38 GMT5
Is there a way to terminate a given Transaction ID without using KILL
<spid>?
Given the situation where a SELECT query on one thread is taking an
inordinate amount of time to complete, I would like a second thread to be
Only allow 50 non-blank records to be inserted then cut off30 Apr 2008 19:12 GMT1
I want to write a t-sql statement to insert record new records as long as the non-blank record count is < 50.  Once it hits 50, I want to send a message to the user saying the sorry, we have reached our limit.  Note, I want to count records that have data in it, if a record has ...
DTS as command line?30 Apr 2008 19:00 GMT1
OK, I've copied a large number of Oracle tables to SQL Server using
DTS.
Is there any way I can do this using a command-line interface (perhaps
one table at a time)?  The point is to be able to do this as easily as
database design: where to put some fields?30 Apr 2008 18:53 GMT4
I have 5 different tables where I might be able to put columns for an
address: ArrivalLocation, DepartureLocation, Host, Hotel and Venue. I was
wondering if it would be better to add the address columns to each of these
tables or create a lookup table with those table names as ...
SQL30 Apr 2008 18:42 GMT3
I have a query in the stored procedure which has a parameter
@FirstName varchar(39). The query looks like this:
SELECT B.CustomerNo  FROM Customers A JOIN Customers B
ON A.CustomerNo <> B.CustomerNo
Noob Question30 Apr 2008 18:06 GMT10
Hi All, I'm a noob to SQL and am trying to run a query that goes a
little something like this.
DECLARE @StartTime DATETIME
DECLARE @EndTime DATETIME
Please help me with the sql puzzle query30 Apr 2008 17:14 GMT2
create table demo(id int)
go
insert into demo
select 10 union all
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2010 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.