Viewing 15 posts - 31 through 45 (of 518 total)
Are you saying that you need to script your current database and recreate it? What is your question?
April 20, 2006 at 11:10 am
ROTFLMAO.........I love the subject line here.......I also have some users I would like to "kill".....
April 20, 2006 at 10:47 am
I automate this very functionality by writing my foreign keys as drop and create statements to a FK table, use the same dts packages to move the FK table to the...
April 20, 2006 at 10:05 am
You would be better doing an OLEDB_COMMAND_TASK with a read/write variable having a scope sufficient for the next step, and using a conditional path based on the variable.
April 17, 2006 at 2:11 pm
Select
DateAdd(dd,-1,Convert(datetime,Convert(varchar
April 17, 2006 at 2:01 pm
That's a way of doing just what I said......
April 17, 2006 at 1:55 pm
Can you not accomplish this with an inner join, rather than the exists statement....maybe against a pre-aggregated table of subscription counts?
April 17, 2006 at 1:53 pm
You should build your concatenated string prior to the statement, and use a single variable for it......it doesn't like concatenating the strings within the statement.
April 17, 2006 at 11:16 am
The way I do it is to alias the table and use the standard conventions.....ie...
Select A.Field1
, A.Field2
, A.Field3
, B.Field1
From Server.Database.dbo.TableName A
Inner Join Server.Database.dbo.TableName B
On A.Field1 = B.Field1
and so forth....
I...
April 17, 2006 at 10:13 am
SELECT 'ForKey',
child_table child_table,
obj.name constraint_name,
child_column child_column,
child_pos pos,
parent_table parent_table,
parent_column parent_column
FROM (
SELECT tab1.name child_table,
col1.name child_column,
CASE col1.colid
WHEN ref.fkey1 THEN 1
WHEN ref.fkey2 THEN 2
...
April 5, 2006 at 2:04 pm
Is sequence number actually a sequential number, such as an identity field, so that the results can be sorted that way?
April 5, 2006 at 11:35 am
Include Object scans for the event, and object id and index id for the columns......then query the reulting table of data.....standard group by and counts......
April 5, 2006 at 10:51 am
Declare
@Mon Money
Set
@Mon = 1345.00
Select
convert(varchar(30),
April 5, 2006 at 9:31 am
Try one of these:
• | The SQLServerAgent service startup account may... |
April 5, 2006 at 9:22 am
The blocking and blocked by columns show the spids of the processes that are blocked by the process or are blocking the process. If you trace this chain to the...
April 5, 2006 at 9:19 am
Viewing 15 posts - 31 through 45 (of 518 total)