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
Delete records28 Jul 2008 09:16 GMT2
   I have three tables which are joined by a common field CS_Survey_rec ID.
How do I delete records from all tables where cs_Survey_RecID >17. This is
the first time I am deleting, so please help I don't want to delete the wrong
records
Password field in user table28 Jul 2008 00:52 GMT4
Any recommendations on implementing a password field in a table. I want to
use it for log in by a an ASP application. I could just handle it all in the
ASP code but I wondered if there are any good techniques used in SQL
TIA
OPENQUERY with stored procedures error27 Jul 2008 23:01 GMT3
I am currently using SQL Server 2005 Express Edition and SSMSE.  I have
developed a unit testing suite for my stored procedures.  The way it works
is, all of my tests (stored procedures on the database that call the actual
stored procedures to determine if they return the correct ...
parse fields for value27 Jul 2008 22:28 GMT7
I need to read my table and pull back values based upon criteria within the
fields parsed.
CREATE TABLE territories (
customer NVARCHAR(10),
How to set the xp_cmdshell so that it will not overwrite the existing file if there is one?27 Jul 2008 20:10 GMT4
I have the following store procedure to execute a xp_cmdshell statement to
export an view to a text file. Everything is working fine except I do not
want it to overwrite the existing file. Currently the export file name is
static. The file name is restricted to max 8 characters ...
password protected instance27 Jul 2008 15:48 GMT1
i want to know how can i password protect my sql server 2005 express
instance so thatnobody can go and play with database or even view it?
How to get Identity column value for later use27 Jul 2008 10:51 GMT6
I am doing three separate INSERT...SELECT FROM statements to write to three
related tables. The first table has an IDENTITY column the value of which
must go into the seond 2 tables.
Each insert will insert multiple rows.
UDF not returning data in Query Analyzer27 Jul 2008 01:03 GMT10
I am trying to build a UDF to generate an employee ID and to make sure it is
unique.  Our employee ID's consist of first initial of first name + first
initial of last name + 38 (our location) + Last 4 of SSN.  An example is,
dd381234.
Guru needed for help with cte26 Jul 2008 15:34 GMT3
I have the following cte in which I am attempting to take two tables,
combine them and FOR EACH distinct date that is listed, return only one date,
the amount of only the last AdminAdjustment for that date, only the last
DateAdjusted date, etc.  I included the data it is ...
TSQL - self joined table26 Jul 2008 01:46 GMT4
I am working with the SSRS catalog database to create a report and got stuck
on this query.  The subquery is bringing back more than one row - so it
errors out.
Basically I want to return report names (Type=2) with the associated Parent
BIT data type confusion26 Jul 2008 00:57 GMT2
According to help this can have value of 0, 1 or null
Why then when I display the select results do I see value of -1?
And in Management Studio table display I see True or False
Also, help says I can refer to 0 or 1 as FALSE or TRUE yet I dont see these
Getting error on INSERT.. SELECT using table valued function26 Jul 2008 00:32 GMT1
Getting:
Msg 4104, Level 16, State 1, Procedure ESIMonthlyNC, Line 207
The multi-part identifier "P.ParentId" could not be bound.
(note it says BOUND and not FOUND)
@@ROWCOUNT and @@ERR !?!?!25 Jul 2008 22:57 GMT3
OK,
SO, I want to get BOTH the any error codes that might have been thrown AND
if the statement is successful, how many records were updated.
Sounds like a simple request but it seems like I can only get one or the
@@Error changed by Begin?25 Jul 2008 21:21 GMT6
Is this code valid in a proc?
<Some SQL statement>
If @@Error <> 0
   Begin
SP to summarize data25 Jul 2008 21:17 GMT3
I have an sp that selects data at a detail level. Can I create an sp to
summarize the data in the detail sp (by calling it), or do I need to create
a single sp that selects and summarizes the data?
Essentially, can one sp call another sp?
 
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.