Viewing 15 posts - 1 through 15 (of 30 total)
I used sp_executesql with openrowset to put the result into a global tmp table thou it creates a column name with XML_xxx_xxxxx_xxx etc.
I can't figure out how I can insret...
July 17, 2002 at 7:07 am
I was looking something where I do not have to parse procedure text.
I believe that SQL Server has it saved somewhere in the system tables, thou so far I haven't...
June 21, 2002 at 8:15 am
If your databases are identical just back up the database on the data source server, and restore the database on the target server.
It should take about 5 minutes to move...
May 28, 2002 at 3:10 pm
IF you use dts you should set the option
to copy indexes.
If you backup and restore they should all be in place.
Good Luck
Dan
May 28, 2002 at 3:07 pm
I had Oracle and SQL Server 7.0 running on the same machine before and I did not encounter any problems, it was coupl eof years ago and I don't...
May 28, 2002 at 2:57 pm
Can you ellaborate on your problem.
Thanx Dan
quote:
I have a select statement that has many 'ands' where one side uses the same thing...
May 28, 2002 at 2:55 pm
Oh yeah I forgot to mention if you have not assigned default value to a variable, and it contains a null value the datalength will be zero.
May 17, 2002 at 10:04 am
Duplicate post see http://www.sqlservercentral.com/forum/topic.asp?TOPIC_ID=4303&FORUM_ID=8&CAT_ID=1&Topic_Title=Allocation+memory+for+a+variable%2E%2E%2E&Forum_Title=T%2DSQL
quote:
When is allocate memory for a variable in a Script T-SQL?In the DECLARE instruction?
Or in...
May 17, 2002 at 10:02 am
Char is spacepadded, varchar is variable length.
IF you use datalength function of @CharType char(10) it will always return 10, if you use same variable declared as varchar(10) and the value...
May 17, 2002 at 10:01 am
Use bulk copy to move the file into a temp table.
Select xml from the table into a variable then use sp_xml_preparedcoument to get the handle.
May 17, 2002 at 9:37 am
USe @@@ before var name in 2000
quote:
Hello all,I am new to SQLServer and trying to create global variables. I would want some...
May 16, 2002 at 3:51 pm
print doesn't work in triggers,
insert it into a table like andy said.
May 16, 2002 at 1:14 pm
Read this article it should give you an idea
http://www.pinpub.com/sq/SQmag.nsf/Index/5D30F6DBB37272C1852568E2006A94B6?opendocument
quote:
I have been looking around to find what the correct...
May 16, 2002 at 12:37 pm
Well everyone here has a valid point, thou being a DBA you should always know how to properly write TSQL, and also at least understand what is being done on...
May 16, 2002 at 12:31 pm
Viewing 15 posts - 1 through 15 (of 30 total)