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
Any need for ANY?29 Jul 2008 22:36 GMT4
Is there any need for ANY, SOME or ALL?
Is there anything that can't be done with In, (NOT) EXISTS or the new EXCEPT
and INTERSECT operators or other subqueries?
thanks
get last day of the month29 Jul 2008 22:11 GMT4
If I have the string '200807', how can I change this to be '31/7/08' and get
the date of 2008/07/31 in the SQL? get the last day of the month first..
Thanks for your help.
DISTINCT DATE29 Jul 2008 22:04 GMT2
How do I get a DISTINCT Count by a Date???
Employee #       Date
*********      ****
12345678          07/29/2008
Question about transaction29 Jul 2008 21:47 GMT4
I have a series of read and update activities in a transaction. All of my
read activities are of the default isolation level (read committed). If
another update (in its own transaction) changes and commits the data after
the my transaction starts, is the read in my transaction ...
Try...Catch... for INSERT...SELECT29 Jul 2008 21:32 GMT11
I have a Catch block for an Insert...Select statement. This statement may
insert zero, one or multiple rows.
In my Catch block, is there any way to determine the primary key (Identity
column) of the record I attempted to insert when the failure occured? Or,
Top 1 more than once29 Jul 2008 21:05 GMT4
I have a table from which I need to get only the newest record, but the
newest for each account based on creation date.
Each account can have many entries but only the most recent for each is what
I want, should I use top or max and can you show by a simple sql statement.
SProc not working on VBA29 Jul 2008 20:28 GMT1
For quite a while I've been using the code on this page for importing data
from SQL to Excel:
http://support.microsoft.com/kb/306125/en-us
It works great until I needed to use a SPROC for retrieving timephased data
@@Identity on a remote server29 Jul 2008 19:46 GMT2
have 2 SQL server.
Have a Table on Server A with an identity field.
On server B, I execute an insert statement into the table on Server A. Then I wan to get the identity value that was entered the the new record inserted into the table.
Calling @@Identity on server B returns NULL. ...
SQl 2005/Visual Basic 200829 Jul 2008 19:42 GMT3
Please excuse my ignorance, as I'm not overly with the inner workings of SQL,
nor do I know programming very well.  I've been given the task of taking all
of the data from a table on our sql 2005 server, exporting it, and importing
it into a SQl 2005 express client.  This needs ...
Service accounts29 Jul 2008 18:29 GMT4
Does anyone know how I can programtically get all the Sql server service
accounts mainly just the sql server service and agent service
for my auditing so I don't have to log onto to every server to find out?
I have had a good look and can't find it in any of the sql tables
Run batch file29 Jul 2008 17:12 GMT4
I'd like to schedule a job to run a batch file every night but am unsure of
the syntax. I thought there was an extended stored procedure that could run
files but am unable to locate anything in books online. Any help would be
appreciated.
xp_sprintf demo29 Jul 2008 16:53 GMT1
-- Little demo of xp_sprintf featuring a well-known saying, just for fun.
DECLARE @p1    VARCHAR(30),
       @p2    VARCHAR(4)
DECLARE @input_string    VARCHAR(100)
SSAS - how do I find the service name?29 Jul 2008 16:50 GMT5
Not sure if the subject is worded correctly, but here's my problem:
I installed SQL 2005 on my XP Pro machine that already had SQL 2000
installed.  The SQL 2000 service is simply "MYMACHINE", so I had to
name the 2005 SQL service "MYMACHINE\MYNAME", and this has caused me
SMO Default versus DefaultConstraint29 Jul 2008 16:10 GMT2
In the SQL 2005 SMO object library, what is the difference between the
"Default" property of a Column member (of a table), and the
"DefaultConstraint" property?
I am looking here:
SMO: IncludeIfNotExists is ignored when scripting Column.DefaultConstraint29 Jul 2008 16:09 GMT2
I have the following code in SQL 2005 using the SMO object model:
' Options to script the default constraints.
Dim DefaultConstraintsOptions As _
Microsoft.SqlServer.Management.Smo.ScriptingOptions = New _
 
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.