Viewing 15 posts - 19,336 through 19,350 (of 39,903 total)
Not copy database, copy table.
In 2005 I think under SSMS, right click a database, say Export or Import data. I don't have a 2005 instance handy, but check for a...
June 29, 2010 at 5:28 pm
I think it exists in more and more places all the time. Companies like 37 Signals, smaller companies that want it to be more than a job are growing. I've...
June 29, 2010 at 5:22 pm
The copy wizard is a good choice. If this might grow, snapshot replication will work as well.
June 29, 2010 at 4:58 pm
This might help: http://www.sqldts.com/218.aspx
Multiple execution paths shown, using scripting as suggested above.
June 29, 2010 at 4:13 pm
http://msdn.microsoft.com/en-us/library/ms189572%28v=SQL.100%29.aspx
George is correct, users are disconnected from a STANDBY database when it is being restore. You can kill connections, or let them pile up until all users are gone and...
June 29, 2010 at 4:11 pm
I'm with Michael and George. USe backup/restore as a safety net, but I'd stop services and be sure the SNAP is consistent.
June 29, 2010 at 3:10 pm
Look at my example. You'd need to do this:
SELECT GLSummary.Org
, GLSummary.Period
, GLSummary.Account
, 0 'Budget Amount'
, GLSummary.Amount 'Actual Amount'
...
June 29, 2010 at 2:52 pm
I'm confused. The two queries are doing this. If you don't have matching lines, you can't combine things onto the same row.
If you have matching lines, they are combined.
June 29, 2010 at 2:30 pm
Is this Actuals? Or Budget?
SELECT IntGL.Org, IntGL.period, IntGL.account, GL.Amount, IntGL.budgetAmount
FROM SSI.dbo.IntGLBudgets IntGL
LEFT JOIN SSI.dbo.GLSummary GL
ON IntGL.Org = GL.Org
AND IntGL.period = GL.period
AND IntGL.account = GL.account
WHERE (IntGL.Org=@Org) AND (IntGL.period>=@Period)
I'm a little unclear...
June 29, 2010 at 2:20 pm
Congrats, and good luck going forward. Manage your expectations this year, and be prepared to leave if that's what you think is best for your career. Nothing wrong with outgrowing...
June 29, 2010 at 2:11 pm
UNION combines two queries. Need the same number of fields, but
-- query 1
select fielda, fieldB
from OneTable
UNION
-- query 2
Select FieldC, FieldD
from AnotherTable
June 29, 2010 at 2:05 pm
I'm confused, are you combining results from both tables or trying to join them together? There are two things here.
If I have two tables, A and B, as this
TableA
------
1
2
3
4
TableB
-------
1
A
B
C
And I...
June 29, 2010 at 1:00 pm
Slight correction. It goes out edited in the next day's newsletter if it's not already scheduled. Sometimes we are scheduled out 2-3 days in a row.
June 29, 2010 at 12:53 pm
Once it's edited on the site, it will go out as the corrected version.
June 29, 2010 at 12:51 pm
Viewing 15 posts - 19,336 through 19,350 (of 39,903 total)