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

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
Querying for Service Account Login04 Dec 2008 14:45 GMT1
Anyone know of a way to query the name of the service account SQL is
currently running under?
I know it's not a smart thing to be doing, and I know I could do it
programmatically via windows routes, but I have need within a large test
Connections - Left over04 Dec 2008 09:20 GMT1
How do I make sure no unclosed connection (wich are left over after an
application fly) are left in the server with no use?
Query for DateTime field04 Dec 2008 08:29 GMT11
I have a table contains a field that is the type of datetime, and I
am getting some unexpected results when I query for the records.
For example when I do
select tdField from mTable when tdField >= '12/3/2008 14:00:00';
TOP 100 PERCENT - Why?04 Dec 2008 07:26 GMT5
I just found this query in a legacy datase.
When, if ever, does "TOP 100 PERCENT" ever make sense? Why do it?
SELECT TOP 100 PERCENT LastName FROM
(
INNER JOIN sequence make any difference?04 Dec 2008 03:32 GMT8
Is this:SELECT *
FROM   employee
      INNER JOIN department
         ON employee.DepartmentID = department.DepartmentID
Last day of previous month03 Dec 2008 23:58 GMT7
[SQL2000]
CREATE TABLE [dbo].[tbl_FGSIZE]
(
[ID] [int] IDENTITY(1,1) NOT NULL,
I need to add an addtional table\field to this Stored Procedure...03 Dec 2008 23:49 GMT1
This is a Stored Procedure I've inherited
I have two lines that I've added in each of the SELECT sections below. They
end in "-- I need this additional data"
What I don't know how to do is add a join to an additional table.
The precision is invalid03 Dec 2008 23:17 GMT4
help, I'm trying to access a stored procedure The stored procedure works fine
when run from the server) the code is below -
CREATE PROCEDURE updatepricing
@siteid INT,
Sort data from Horizontal to Vertical ?03 Dec 2008 22:58 GMT2
How can I sort the following data from Horizontal to Vertical using MS SQL ?
Table : Sample
From Horizontal
Type    Value
Delete trigger not firing, or variable not getting set?03 Dec 2008 22:30 GMT6
The trigger below is supposed to Test a sproc when a tblTestItem record
is deleted. Either the trigger does not fire, or the @TestID variable is
not set to the deleted record's value in TestItemTestID. I am not able
to get the print statement to work inside the trigger so I can't ...
Finding unoccupied / occupied rooms using date functions?03 Dec 2008 21:55 GMT4
I have a few tables represent hotel, hotel room, guest and room booking
respectively.
Among two tables are as below:
Room table
SQL Query for the DateTime Field03 Dec 2008 18:36 GMT5
I have a table contains a datetime field, which stores only time
information, now
1. I have noticed that the time value saved in the table all have a
date stamp at the beginning of them, for example
Return one row on JOIN when many rows match03 Dec 2008 16:35 GMT3
I'm stuck two tables which were poorly designed from the beginning - a
Message table and an Employee table. The Message table has an
EmployeeID and the message text. The Employee table has the
EmployeeID, the employee name, and an employee code. The problem is
dateadd and conversion03 Dec 2008 14:10 GMT3
My db has a char(10) with a date stored like yyyy-mm-dd
I need to add a number of days
ad output as char(10) stored as mm/dd/yyyy.
The 2nd part works fine with dateadd(d,ChangeOfDay,DepartureDate),
Quorom Drive Corruption03 Dec 2008 12:00 GMT1
Has anyone dealt with corruption of the Quorom drive on a SQl 2005
cluster?  Is this common?  If so how can I assure my manager a plan if
this does happen so we dont lose data.  TIA
 
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.