Viewing 15 posts - 976 through 990 (of 1,271 total)
When you create a backup, you can give it any extension you want .... which is what they did. It's not because it is an older version.
November 30, 2006 at 10:27 pm
Has your Windows account been granted access to the server and database?
Personally, for running SQL from an external file, I prefer to create a VBScript file instead of DOS.
If you...
November 30, 2006 at 10:14 pm
You're not using CDO, you're using CDONTS. They're not the same thing. CDONTS requires CDONTS.dll and no longer comes standard in Windows. I suggest rewriting your procedure to use CDO;...
November 30, 2006 at 10:06 pm
Another problem with using Select Into is that the column definitions are based on the result set and not the underlying structure. So for example, if you have a varchar(500)...
November 30, 2006 at 5:19 pm
>> I generally use the deleted table for updates/deletes, and inserted for new rows.
For updates, deciding which table you should use depends on which set of data you want. The...
November 30, 2006 at 5:10 pm
I think what he is looking for is:
insert into mytable(f1,f2,f3)
values(@var1,
getdate(),
Case When @Var3 Is Not Null Then @Var4 Else Null End)
You actually could leave off the "Else Null" part because...
November 30, 2006 at 5:03 pm
Also make sure your date field is indexed. For a real performance boost, store the date as an integer (20060704 = July 4, 2006, e.g.) as this will create a...
November 30, 2006 at 4:43 pm
You are taking the term "non-logged" too literally. When you truncate a table, it is logged. It logs a single record basically saying that it the table was truncated as...
November 30, 2006 at 3:50 pm
If it's just a heaser line and 1 data line, I would just use an ActiveX script (in a DTS package) to read in the two lines, split each line...
November 29, 2006 at 11:58 pm
The article is here: http://www.sqlservercentral.com/columnists/sjones/2744.asp
I think you're having a Null math problem of your own. You had 11 items in the article. Or did you intend for "Forgetting about...
November 29, 2006 at 11:39 pm
Actually, no. I specifically demonstrated using column names instead of * to demonstrate that the key fields don't have to be the same. Only the fields in the queries have...
November 28, 2006 at 12:38 pm
Actually, you can do that without dynamic SQL or having 10,000 sp's. All you need is a view that performs a Union All of the various views and include a...
November 28, 2006 at 10:14 am
Like I said before, post your code!!!
November 27, 2006 at 4:32 pm
That won't do you any good as Exec() will only read the first 4000 characters of a variable.
One option is to use NText and sp_executesql.
November 27, 2006 at 3:19 pm
Viewing 15 posts - 976 through 990 (of 1,271 total)