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
LEFT OUTER JOIN problem30 Jul 2008 14:51 GMT3
I have 2 tables , tblTOSub , and tblTrScanSub with this schema , the 2
identities are the PKeys.
CREATE TABLE [dbo].[tblTOSub](
[TOSubID] [int] IDENTITY(1,1) NOT NULL,
SQL locking in an UPDATE...FROM statement30 Jul 2008 14:40 GMT6
In an UPDATE...FROM statement, how do I instruct SQL server to specifically
lock only rows where the PK matches AND the value to be updated is
different. It looks like it puts an update lock on TblOne whether the values
differ or match.
SERVICE PACK30 Jul 2008 13:31 GMT7
I tried all setup for Service Pack 2 sql server
But i got error like " xxxxxx.exe  is not a valid win 32 application"
What should i do
please help on this
I think it should be a Pivot30 Jul 2008 13:06 GMT3
Wondering if someone can help me with this, I have read quite a bit about
pivot tables but none of the solutions seem to be what I am after, I have
table data that looks like this
ID                  Address
Attach DB Error30 Jul 2008 12:46 GMT2
When I go to attach a DB I get the following error:
Attach database failed for Server 'MANGLER'. (Microfoft.SQLServer.Smo)
An exception occurred while executing a Transact-SQL statment or
batch.
CR/LF , How to insert it.30 Jul 2008 12:28 GMT3
I need to insert a line then CR/LF then another line in an nvarchar column
in a table, then at client user see it as 2 lines of text in the memo field
this does not work
INSERT INTO tblMemo (MemoCol) Values ('Hello' + nchar(13) + 'World')
How to compare if current time is between 06:00 - 20:00 ?30 Jul 2008 11:25 GMT2
I am beginner in TSQL.
A have basic question about time:
How can I compare if current time is between 06:00 - 20:00?
I want compare only time (not date).
MD530 Jul 2008 09:27 GMT1
Is there a function similar to MySQL's MD5 for encrypting data? If not, is
there a way to do this in sql 2000?
Weird Timeout Error30 Jul 2008 08:23 GMT4
I have a query that executes in a 1-2secs in Query Analyzer, but when I try
to execute the same query from a .net app I immediately get a timeout error.
Can anyone point me in the right direction on this?
Any help appreciated!
sys.synonyms: how to determine target database & object name?30 Jul 2008 08:20 GMT2
I have synonyms in the database:
   CREATE SYNONYM MySynonym FOR MyDatabase.dbo.MyTable
There is also the view sys.synonyms with a structure like sys.objects.
How can I determine the target database and table name?
Sql Jobs and VBs30 Jul 2008 02:51 GMT3
I have a SqlAgent job with a job step that uses CmdExec  to execute a VBS
script.
The error I receive is "reason: %1 is not a valid Win32 application"
Is it not possible to run VBS script from Sql Server Agent Jobs?  will I
Select Distinct for multiple columns29 Jul 2008 23:31 GMT3
I am trying to get select distinct to show unique record only, but it keeps
showing duplicate records if the employee have more than one jobs.  
empno  startdate    jobno
111      1/1/2006    555
How to refer to a databasename dynamically29 Jul 2008 23:31 GMT15
Currently every one of our databases has its own audit database. We simply take the database name and append 'Audit'.
I am writing some stored procedures that will perform DDL on the audit databases / tables. I want to write a single routine that can
work with all databases and ...
DBCC CHECKTABLE error29 Jul 2008 23:25 GMT19
I'm receiving a 8115 arithmetic overflow error on a DBCC CHECKTABLE.
The clustered index is on a datetime column.
There are 20 million rows.
Version 8.00.2039 - I'm about to patch to 2187.
doing some calculating in the query29 Jul 2008 22:59 GMT1
I have to modify this query:
SELECT LOGCODE, CURRTS, SUPPRESSEDCOUNT
FROM SM_ALERTINIT
WHERE (CURRTS > dateadd(dd, datediff(dd, 0, getdate())-120, 0) )
 
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.