| Thread | Last Post | Replies |
|
| OUTPUT and subqueries | 28 Feb 2009 00:16 GMT | 4 |
I have an UPDATE with an OUTPUT ... INTO... I am getting this error. Msg 10705, Level 15, State 1, Procedure UpdateTripsBecauseOfExpiredEligibility, Line 99 Subqueries are not allowed in the OUTPUT clause.
|
| sp works fine in SQL2K but not in SQL2k5? | 27 Feb 2009 23:02 GMT | 2 |
I'm trying to execute a stored proc on SQL2K5 databases and I get an error: Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value ']' to data type int. If, in place of the defined variables, I use the date strings, the procedure
|
| column filter | 27 Feb 2009 20:18 GMT | 3 |
The following query will return 3 word in 3 "TABLE COLUMN", How can I modify the query to return "NO 3 words are the same"? the following Table will have duplicated as both row has the same 3 words, I only need "a, young, woman" is enough. I do not need "a,
|
| Function call question | 27 Feb 2009 19:21 GMT | 3 |
I am looking at figuring out the best way to do this select with a couple of user functions in them, knowing that they tend to slow things down. If I have the following select: SELECT [StudentId]
|
| Incrementally populate my full-text-catalog right after inserting/updating? | 27 Feb 2009 16:29 GMT | 1 |
I want my newly inserted/updated records to be immediately full-text searchable (maybe in about 1 minute), Q1: so is it appropriate to do this:
|
| Update table question | 27 Feb 2009 16:07 GMT | 6 |
Is there a way to update a Table X without mentioning the fieldsname. e.g Table name is Corporations_tbl and contains 2 fields field1 intcorp as integer, field2 txtCorp as string
|
| Test for existence of temp table | 27 Feb 2009 14:48 GMT | 5 |
If you want to see if a table exists you do something like this... if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[My_Table]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
|
| View of Linked Server | 27 Feb 2009 14:46 GMT | 11 |
Good day! This much works fine: sp_addlinkedserver 'serverB' go
|
| Deleting all 'pairs' of rows | 27 Feb 2009 12:35 GMT | 9 |
Can anyone suggest how this could be coded? I have a table with rows like this (definition below): ind val 1 10
|
| problem after replication | 27 Feb 2009 09:19 GMT | 1 |
I tested doing the Replication between my 2 SQL Servers. However, I'm not sure if there'ssomething wrong with the Relication, the publisher is DatabaseA and the subscriber is DatabaseB. But now all my Tables in Database were added a new column "rowguid", which
|
| Create a View | 27 Feb 2009 06:12 GMT | 2 |
I have a table - StockBalances in my Primary Database - Stock Control which has a Timestamp on every Record E.G The Records are as Follows
|
| unique index with multiple columns to huge? | 26 Feb 2009 23:32 GMT | 8 |
I have a table called Events. I want to set up a unique index so that an event can't be scheduled twice or that you cant schedule an event on top of another. I have in the unique index for scheduling the same event twice setup. It has the columns Title, StartDate, StartTime, ...
|
| Some confusion with regards to Sql server precompiling all Sql commands | 26 Feb 2009 22:54 GMT | 2 |
“Sql Server version 7 (and later) precompiles all SQL commands, including off-the-cuff SQL statements.That means you gain the benefit of compilation regardless of whether you are using stored procedures” There are several things about the above quote that I don’t quite
|
| Inner queries - a bit stuck | 26 Feb 2009 21:47 GMT | 6 |
Few days ago I started learning Sql and I got a bit stuck on inner queries. BTW - I hope I'm not breaking any rules by putting three questions inside a single thread, but I figured if you guys decide you don’t
|
| multiple "AND"s and their order in a WHERE clause | 26 Feb 2009 21:45 GMT | 4 |
On this page http://www.sql-server-performance.com/tips/t_sql_where_p4.aspx there is a section that reads like: "If you have a WHERE clause that includes expressions connected by two or more AND operators, SQL Server will evaluate them from left to right in the order they are ...
|