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
Sub Assemblies14 Dec 2008 11:20 GMT2
AS = ASSEMBLY
PP = PARENT PART
CP = CHILD PART
I have a table as below that lists sub assembly parts for main assemblies.
Scripting Create and Drop FK14 Dec 2008 02:29 GMT1
I need two scripts; 1-Create all FK in the DB, 2-Drop all FK in the DB.
I need to generate the scripts and run them from a Job.
Is their a way to script all the fk in a DB??
Avoiding a cursor14 Dec 2008 00:28 GMT16
I have a series of rows in a table that need a value changed,
something I could normally accomplish like this:
UPDATE MyTable SET Status = 'X' WHERE caseid = 100
Let's say this updates 10 rows,
what's wrong with where in (1,3,5)?13 Dec 2008 20:42 GMT3
Hi, I am try to learn sql by read some sql code I can find,
I see a stored proc which select some rows from tables based on some ids,
e.g. @Ids ="1,3,5,9".
I thought it will be as simple as
Table is Ambiguous13 Dec 2008 16:07 GMT3
Hi, I have the following statement that gives the error listed below for SQL
Server 2005.  I'm not seeing what the issue is:
Statement:
UPDATE    Stores.dbo.Categories
read old logs13 Dec 2008 16:04 GMT1
Two days ago we have an issue with one of the sql servers.
How can I read the log file to see what happend two days ago?
thanks
JFB
Need code to update a field as it's created13 Dec 2008 15:48 GMT6
I've got a script to add a field to a table and need to update that field in
the existing rows.  However I get the error "Invalid column name
'active_flag'." when I try to execute it.  What am I doing wrong?
IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS
Passing Variables13 Dec 2008 11:53 GMT3
I've written a procedure requesting variable of the p/n to look up.
How can I take select distinct query and pass all those values into the
procedure or create a new query that does all that into temp tables and
returns it all?
Connection Failure12 Dec 2008 23:45 GMT1
I am experiencing failure connecting to SQL Server 2000 from SQL Server 2008
64-bit (Error 18456, Severity 14, State 8). This error log event is
misleading because the problem is NOT a password mismatch as I have
thoroughly tested connection from multiple other servers.
Distributed Query Login Failure12 Dec 2008 23:39 GMT6
I’m having strange issue connecting to a SQL Server 2000 machine from SQL
Server 2008 machine.
The connection to the SQL Server 2000 machine works fine from a SQL Server
2005 machine.
Namespace not allowed in sp12 Dec 2008 22:17 GMT1
I have a job that as one of it steps executes an sp in one db, and trying to
create functions in another database. Don't ask me why I am doing it this
way, it's too complicated. When I try to run the script to create the sp, I
get the following error:
Code to run SP Asynchronously12 Dec 2008 21:48 GMT1
I have found that code to run a sp asynchronously.
set nocount on
declare @rc int
declare @object int
SELECT INSERT Query12 Dec 2008 20:27 GMT2
This may be very easy but I am drawing a blank. I have two tables.  The
first table is #Table3 Columns Code and Description and the second is #Table4
with columns DocType, Code and Description. I would like to insert new
#Table3 values into #Table4. What's difficult for me is ...
Validation query between two tables, different fields?12 Dec 2008 18:46 GMT1
I have Table1 and Table2 with two fields each (sys_id, emp_id).  
I want to see what Table1.sys_id & Table1.emp_id combination is not included
in Table2.sys_id & Table2.emp_id.
For example, Table1 has a record where sys_id = 'ABC1' and emp_id = '1234'.
Run SP on background12 Dec 2008 18:08 GMT1
Any suggestions of how to run T-SQL code on a background of an application?
What I want is to run some sql code  from my app. but not to wait till sql
execution is done.
Is that possible?
 
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.