Viewing 15 posts - 121 through 135 (of 137 total)
If at all possible, move the execute outside the loop. Concatenate a where clause if you need to then perform the execute once. There is also a way...
April 10, 2003 at 8:47 pm
Maybe I'm missunderstanding this but why do you have to wait? Can't you create a dependency on the creation of the file and the step that needs the file?...
April 10, 2003 at 8:34 pm
If you are using DTS to move the data then this is possible through transformations. You could do this using a VB script transformation. If you need furthur...
April 10, 2003 at 8:31 pm
Is the datatype for this particular column nvarchar, nchar or ntext? These support unicode and should eliminate your problem.
Darren
Darren
April 10, 2003 at 8:25 pm
What exactly are you trying to do? Look at "Summary and Grouping Behavior in the Query Designer" in books online. Is that what you are looking for?
Darren
April 10, 2003 at 8:17 pm
I got it to work. Use a transformation of type VB Script and use the string manipulation in the example below. This assumes the length of the string...
April 10, 2003 at 8:11 pm
I also found this in Books Online:
When using DTS to copy data between SQL Server databases with different code pages and collations, data may be lost or incorrectly translated.
To...
April 10, 2003 at 7:50 pm
Are you using DTS Import? If so, you can specify the transformation and you can check what it's setting as the default datatype.
Darren
April 10, 2003 at 7:44 pm
Are you looking at the Event Viewer application logs or the sql server logs? If it's the latter, what is the name of your SQL server registration in Enterprise...
April 8, 2003 at 5:09 pm
Do you have the log files and data files pointing to 2 separate disks? Are you using a RAID 5 configuration? Does it seem like reads and writes...
April 8, 2003 at 10:37 am
I work for a utility billing software company. We developed a CIS system from scratch starting in 1998. We didn't even hire a DBA until 2000. Although...
April 7, 2003 at 8:22 pm
I was assuming you would fill in your table names where I guessed on the names. By query Analysis do you mean Query Analyzer or perhaps viewing the Execution...
April 7, 2003 at 8:11 pm
Who's maintaining the user logins for SQL Server? Can you ask them to give you sysadmin access instead of giving out the sa password?
April 7, 2003 at 7:59 pm
I would try putting the values of your in clause into a temp table or static parm table, then join to that vs. having such a big "in" clause. ...
April 7, 2003 at 10:58 am
I would use a sub select.
Like:
select Customer, count(*) from CustomerTable where CustomerId in (select distinct(CustomerId) from Sales where CustomerHasSaleFl = 1)
group by Customer with rollup
with rollup gives you the grand...
April 7, 2003 at 10:53 am
Viewing 15 posts - 121 through 135 (of 137 total)