Viewing 15 posts - 76 through 90 (of 595 total)
If you lookup RESTORE VERIFYONLY in BOL, the first paragraph states:
Verifies the backup but does not restore the backup. Checks to see that the backup set is complete and that...
December 5, 2006 at 7:48 am
Here's a quick, brute force way. It involves creating a table to map characters with ascii codes above 127 to other characters. You could create CharMap as a temp table or table...
December 1, 2006 at 8:19 am
Leeland,
All of the status numbers are shown in base 10 (decimal, our usual numbering system).
However, you will note that all of the numbers are a multiple of 2 because
they represent a...
November 29, 2006 at 8:18 am
You don't actually have a domain. WOOD and LAPTOP are either the computer names or the workgroup names. The easiest way to share the servers would be to change the...
November 20, 2006 at 6:01 am
Just to clarify - you need the exported data to end up as a dBase IV file for use with the digital mapping application? Can I assume that the mapping...
November 16, 2006 at 6:41 am
How are you creating the Excel file? If you've got the data in a datawindow, just use the SaveAs method and save it as dBase III.
string ls_filename
ls_filename = ...
dw_1.SaveAs...
November 15, 2006 at 8:05 am
I have to agree with Bill. While I happy for you guys, all too often I've seen an independent enterprise like SSC, following a take over by a commercial entity,...
November 14, 2006 at 6:26 am
When using UNC names, the format is \\server\sharename\...
Make sure to check permissions on both the folder and the share on server B.
November 9, 2006 at 7:31 am
You can verify/change the login mode by accessing the following registry key on the server:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\LoginMode
1=Windows Authentication
2=Mixed Mode
November 9, 2006 at 7:18 am
Orders is my example table. If the whole script is run, it should be run in a test database on a development server, not in the production database.
That said, the...
November 8, 2006 at 10:33 am
Yes, you must restart SQL Server to see the name change.
November 8, 2006 at 7:23 am
It looks to me as if you want a running total sort by customer and date.
Something like this might help:
--DROP TABLE Orders
GO
CREATE TABLE Orders
(
orderID int
, custno int
,...
November 8, 2006 at 7:22 am
I assume that your data has a very specific structure to it. As Sergy pointed out, the test IF @Counter > 0 is meaningless, as it will always be true.
One...
November 7, 2006 at 9:23 am
First of all, I don't have enough information to validate your query. However, I would take an alternate approach and avoid using dynamic SQL. I assume that you are using...
November 7, 2006 at 8:36 am
Maybe I'm missing something, but why can't you do something like this:
DECLARE @db2query varchar(8000)
, @statement varchar(8000)
, @identifier varchar(10)
...
October 25, 2006 at 11:48 am
Viewing 15 posts - 76 through 90 (of 595 total)