Viewing 15 posts - 211 through 225 (of 1,109 total)
Alberto.Omini (6/18/2008)
to a equal table in another database
Insert into [DB1].TABLE1
(FLD1,FLD2,FLD3)
(
select
FLD1,FLD2,FLD3
from [DB2].TABLE2
)
TABLE1 and TABLE2 are equal !!!!
someone can help...
June 18, 2008 at 2:28 am
Sorry, you can pass table variables as parameters only in SS2008. You could use temp tables though (or a communication table).
A simple example is:
CREATE TABLE commtable
(
...
June 18, 2008 at 2:09 am
deastr (6/18/2008)
CREATE PROCEDURE tmp
(
@var nvarchar(MAX)
)
AS
select * from Table where ID IN(@var)
I thought of...
June 18, 2008 at 2:07 am
sam_btech (6/17/2008)
i am new to sql server 2005. i want upload file in sql server.i am use varchar it will store string.
pls reply data type
assuming the file is on...
June 18, 2008 at 1:53 am
paksyeet (6/18/2008)
i have here a schedule backup which runs daily but it keeps appending the backup to one file only..
now, my problem is, it is(the backup file) getting bigger...
June 18, 2008 at 1:44 am
Soni (6/13/2008)
I'm a newbie when it comes to SQL Server 2005. I was asked this question once about the impact of filegroups on performance. Please point me to some links...
June 13, 2008 at 3:04 am
sqldba (6/13/2008)
I have been given a task to do a test.
To put a load in the SQL server (large or purposely deadlocking query on non-indexed tables) to simulate...
June 13, 2008 at 2:54 am
You cannot restrict the permissions of the dbo. If you need to hide the table either create it in a different database or change the database owner, and add permissions...
June 9, 2008 at 2:07 am
Wayne Atherton (6/3/2008)
I have a UNC path that I need to pull back the last value of a backslash e.g.
\\value1\value2\value3
I need to store value3 in a variable. I...
June 3, 2008 at 4:55 am
Rajan John (6/2/2008)
you can write an insert trigger on the table that records the CURRENT_USER to the same table or another table.
Just make sure you do not use EXECUTE AS...
June 2, 2008 at 2:09 am
If you want to write a single update statement for the original table that you will later query witht he stetement you mention, you can use somehting like:
UPDATE test
SET...
June 2, 2008 at 1:48 am
SQL Server's optimizer is smart enough not to materialize the view.
Regards,
Andras
April 22, 2008 at 4:35 am
Hmm, I did not have much time 🙂
I'm glad you have found the solution.
Regards,
Andras
April 22, 2008 at 3:42 am
UPDATE tablename
SET TGI_CLUSTER_CODE = CASE WHEN CLUSTER_CODE IN ( '1M', '2M', '3M', '4M',
...
April 22, 2008 at 3:39 am
No setting (in either 2005 or 2008) 🙂 You will have to write t-sql for this.
Regards,
Andras
April 22, 2008 at 3:04 am
Viewing 15 posts - 211 through 225 (of 1,109 total)